共用方式為


SPXmlDocumentCollection.Item property (String)

在指定統一資源識別元 (URI) XML 文件集合中取得 XML 文件的內容。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    namespaceUri As String _
) As String
    Get
'用途
Dim instance As SPXmlDocumentCollection
Dim namespaceUri As String
Dim value As String

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

參數

  • namespaceUri
    Type: System.String

    XML 文件,XML 文件集合中的 URI。

Property value

Type: System.String

備註

指定之 uri 的 XML 文件內容。

請參閱

參照

SPXmlDocumentCollection class

SPXmlDocumentCollection members

Item overload

Microsoft.SharePoint namespace