UnknownXmlElementCollection.Item Property

Gets an element in the collection based on the value of index.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As XmlElement
    Get
'Usage
Dim instance As UnknownXmlElementCollection
Dim index As Integer
Dim value As XmlElement

value = instance(index)
public XmlElement this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that contains the index of the item to retrieve from the collection.

Property Value

Type: System.Xml.XmlElement
A System.Xml.XmlElement that represents an XML element.

Remarks

The Item property is zero-based.

See Also

Reference

UnknownXmlElementCollection Class

UnknownXmlElementCollection Members

Microsoft.SharePoint.WebPartPages Namespace