XmlElementAttributes.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定位於指定索引處的專案。
public:
property System::Xml::Serialization::XmlElementAttribute ^ default[int] { System::Xml::Serialization::XmlElementAttribute ^ get(int index); void set(int index, System::Xml::Serialization::XmlElementAttribute ^ value); };
public System.Xml.Serialization.XmlElementAttribute this[int index] { get; set; }
public System.Xml.Serialization.XmlElementAttribute? this[int index] { get; set; }
member this.Item(int) : System.Xml.Serialization.XmlElementAttribute with get, set
Default Public Property Item(index As Integer) As XmlElementAttribute
參數
- index
- Int32
要取得或設定的元素的零基指數。
屬性值
位於指定索引的元素。
例外狀況
index 在 中 不是有效的索引 XmlElementAttributes。
屬性為設定,且為 XmlElementAttributes 唯讀。