MetadataSerializationContext.RemoveDocument(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從內容中的檔集移除元數據檔。
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) 或空白。