XPathLibraryCollection.Remove MethodXPathLibraryCollection.Remove MethodXPathLibraryCollection::Remove Method
- XmlPrime 1.0
- Other Versions ▼
Removes a specific library from the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Syntax
Public Function Remove( _ library As XPathFunctionLibrary _ ) As Boolean
public bool Remove( XPathFunctionLibrary library )
public: virtual bool Remove( XPathFunctionLibrary^ library ) sealed
Parameters
- library
Type: XmlPrime.XPathFunctionLibraryXmlPrime.XPathFunctionLibraryXmlPrime::XPathFunctionLibrary^
The library to remove from the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
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
| Exception | Condition |
| ArgumentNullExceptionArgumentNullExceptionArgumentNullException | library is null
a null reference (Nothing in Visual Basic)
nullptr. |
