Share via


SPXmlDocumentCollection.Item property (String)

Gets the contents of the XML document at the specified Uniform Resource Identifier (URI) in the XML document collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance(namespaceUri)
public string this[
    string namespaceUri
] { get; }

Parameters

  • namespaceUri
    Type: System.String

    The URI of the XML document in the XML document collection.

Property value

Type: System.String

Remarks

The contents of the XML document at the specified URI.

See also

Reference

SPXmlDocumentCollection class

SPXmlDocumentCollection members

Item overload

Microsoft.SharePoint namespace