MetadataSerializationContext.RemoveDocument(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a metadata document from the set of documents in the context.
public bool RemoveDocument (string logicalPath);
member this.RemoveDocument : string -> bool
Public Function RemoveDocument (logicalPath As String) As Boolean
Parameters
- logicalPath
- String
The logical path that identify the content in the set of documents in the context.
Returns
True, if the document was removed from the context; otherwise, false.
Exceptions
The specified path is a null reference (Nothing in Visual Basic) or empty.