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)

Syntax

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

value = instance(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