XPathLibraryCollection.Add MethodXPathLibraryCollection.Add MethodXPathLibraryCollection::Add Method
- XmlPrime 1.3
- Other Versions ▼
Syntax
Public Function Add( _ library As XPathFunctionLibrary _ ) As Boolean
public bool Add( XPathFunctionLibrary library )
public: bool Add( XPathFunctionLibrary^ library )
Parameters
- library
Type: XmlPrime.XPathFunctionLibraryXmlPrime.XPathFunctionLibraryXmlPrime::XPathFunctionLibrary^
The library to add to the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the library is added to the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection;
false
False
false
if the library was already present.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | library is null
a null reference (Nothing in Visual Basic)
nullptr . |