語言

XmlElementAttributes.Item[Int32] 屬性

定義

取得或設定位於指定索引處的專案。

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 唯讀。

適用於