AttributeList.Item Property

Gets or sets the XML attribute at the specified index.

Namespace: Microsoft.Web.Services2.Xml
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim attributeList1 As AttributeList

Dim key As Integer
Dim returnValue As XmlAttribute
returnValue = attributeList1.Item(key)

Dim sampleValue As XmlAttribute
attributeList1.Item(key) = sampleValue

Syntax

'Declaration
Public Property Item( _
    ByVal index As Integer _
) As XmlAttribute
public XmlAttribute this[
    int index
] {get; set;}
public: property XmlAttribute^ Item{
    XmlAttribute^ get();
    Void set(XmlAttribute^);
}
public XmlAttribute get_Item(
    int index
);
public void set_Item(
    int index
XmlAttribute);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • index
    The zero-based index of the XML attribute to get or set.

Property Value

The System.Xml.XmlAttribute at the specified index.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

AttributeList Class
Microsoft.Web.Services2.Xml Namespace

Other Resources

AttributeList Members