StyleCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 Style 物件在指定的索引位置 StyleCollection 。
public:
property System::Web::UI::WebControls::Style ^ default[int] { System::Web::UI::WebControls::Style ^ get(int i); void set(int i, System::Web::UI::WebControls::Style ^ value); };
public System.Web.UI.WebControls.Style this[int i] { get; set; }
member this.Item(int) : System.Web.UI.WebControls.Style with get, set
Default Public Property Item(i As Integer) As Style
參數
- i
- Int32
物件在 Style中以零為基礎的StyleCollection指標位置。
屬性值
在 . 中指定索引Style的物件。StyleCollection
備註
使用此索引器使用簡單的陣列符號,從指定索引處存取 Style 物件 StyleCollection 。 索引器允許你直接修改或替換集合中的物件 Style 。