XPathLibraryCollection.Add MethodXPathLibraryCollection.Add MethodXPathLibraryCollection::Add Method

Syntax

Public Function Add( _
    library As XPathFunctionLibrary _
) As Boolean
public bool Add(
    XPathFunctionLibrary library
)
public:
bool Add(
    XPathFunctionLibrary^ library
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the library is added to the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection; falseFalsefalse if the library was already present.

Exceptions

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