다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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