Share via


SPXmlDocumentCollection.Item Property (Int32)

Gets the contents of the XML document at the specified index in the XML document collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As String
    Get
'Usage
Dim instance As SPXmlDocumentCollection
Dim index As Integer
Dim value As String

value = instance.Item(index)
public string this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The zero-based index of the document in the XML document collection.

Property Value

Type: System.String

See Also

Reference

SPXmlDocumentCollection Class

SPXmlDocumentCollection Members

Item Overload

Microsoft.SharePoint Namespace