次の方法で共有


XmlAnyElementAttributes.Item プロパティ

指定したインデックス位置にある XmlAnyElementAttribute を取得または設定します。

[C#] C# では、このプロパティは XmlAnyElementAttributes クラスのインデクサになります。

Public Default Property Item( _
   ByVal index As Integer _) As XmlAnyElementAttribute
[C#]
public XmlAnyElementAttribute this[intindex] {get; set;}
[C++]
public: __property XmlAnyElementAttribute* get_Item(intindex);public: __property void set_Item(intindex,   XmlAnyElementAttribute*);
[JScript]
returnValue = XmlAnyElementAttributesObject.Item(index);XmlAnyElementAttributesObject.Item(index) = returnValue;またはreturnValue = XmlAnyElementAttributesObject(index);XmlAnyElementAttributesObject(index) = returnValue;

[JScript] JScript では、この型で定義されている既定のインデックス プロパティを使用することができます。しかし、独自のインデックス プロパティを明示的に定義することはできません。ただし、このクラスの expando 属性を指定すると、既定のインデックス プロパティが提供されます。提供されるインデックス プロパティの型は Object 型であり、インデックス型は String になります。

引数 [JScript]

パラメータ [Visual Basic, C#, C++]

プロパティ値

指定したインデックス位置にある XmlAnyElementAttribute

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

XmlAnyElementAttributes クラス | XmlAnyElementAttributes メンバ | System.Xml.Serialization 名前空間