語言

StyleBase.Item[] 屬性

定義

從收藏中退回一件物品。

多載

名稱 Description
Item[Int32]

回傳指定索引的樣式。

Item[String]

回傳與指定名稱相符的樣式。

Item[Int32]

回傳指定索引的樣式。

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); };
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

參數

index
Int32

風格索引,要取回。

屬性值

object an 包含指定索引的樣式。

適用於

Item[String]

回傳與指定名稱相符的樣式。

public:
 abstract property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ styleName); };
public abstract object this[string styleName] { get; }
member this.Item(string) : obj
Default Public MustOverride ReadOnly Property Item(styleName As String) As Object

參數

styleName
String

要取回的風格名稱。

屬性值

an object 包含與指定名稱相符的樣式。

適用於