XPathLibraryCollection.Remove MethodXPathLibraryCollection.Remove MethodXPathLibraryCollection::Remove Method

Syntax

Public Function Remove( _
    library As XPathFunctionLibrary _
) As Boolean
public bool Remove(
    XPathFunctionLibrary library
)
public:
virtual bool Remove(
    XPathFunctionLibrary^ library
) sealed
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if library was successfully removed from the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection; otherwise, falseFalsefalse. This method also returns false if library is not found in the original XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionlibrary is null a null reference (Nothing in Visual Basic) nullptr.