SPXmlDocumentCollection.Delete method
從 XML 文件集合中刪除指定的 XML 文件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Delete ( _
namespaceUri As String _
)
'用途
Dim instance As SPXmlDocumentCollection
Dim namespaceUri As String
instance.Delete(namespaceUri)
public void Delete(
string namespaceUri
)
參數
namespaceUri
Type: System.String命名空間統一資源識別元 (URI) 屬於 XML 文件集合。
備註
使用這個方法來刪除指定的 XML 文件從 XML 文件集合。如果文件不存在,這個方法就沒有作用。