MetadataSerializationContext.RemoveDocument(String) 方法

定義

從內容中的檔集移除元數據檔。

public bool RemoveDocument (string logicalPath);
member this.RemoveDocument : string -> bool
Public Function RemoveDocument (logicalPath As String) As Boolean

參數

logicalPath
String

識別內容中檔集內容的邏輯路徑。

傳回

如果檔已從內容中移除,則為 True;否則為 false。

例外狀況

指定的路徑是 Null 參考 (在 Visual Basic 中為 Nothing) 或空白。

適用於