XPathLibraryCollection.Remove MethodXPathLibraryCollection.Remove MethodXPathLibraryCollection::Remove Method

Syntax

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

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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

Exceptions

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