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

要取得或設定的以零為起始元素索引。

屬性值

XmlElementAttribute

在指定索引上的項目。

例外狀況

index 不是 XmlElementAttributes 中的有效索引。

屬性已設定,而且 XmlElementAttributes 是唯讀的。

適用於