XPathLibraryCollection ClassXPathLibraryCollection ClassXPathLibraryCollection Class

Inheritance Hierarchy

Syntax

Public NotInheritable Class XPathLibraryCollection _
        Implements ICollection(Of XPathFunctionLibrary), _
                   IEnumerable(Of XPathFunctionLibrary), _
                   System.Collections.IEnumerable
 
The XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection type exposes the following members.

Constructors

 ConstructorDescription
Public methodXPathLibraryCollection ()XPathLibraryCollection ()XPathLibraryCollection () Initializes a new instance of the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection class.
Public methodXPathLibraryCollection (XPathLibraryCollection)XPathLibraryCollection (XPathLibraryCollection)XPathLibraryCollection (XPathLibraryCollection^) Initializes a new instance of the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection class.

Top

Properties

 PropertyDescription
Public propertyCountCountCount Gets the number of libraries contained in the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.

Top

Methods

 MethodDescription
Public methodAddAddAdd Adds a library to the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Public methodClearClearClear Removes all libraries from the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Public methodContainsContainsContains Determines whether the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection contains a specific library.
Public methodCopyToCopyToCopyTo Copies the elements of the ICollection<T>ICollection(Of T)ICollection<T> to an ArrayArrayArray, starting at a particular ArrayArrayArray index.
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetEnumeratorGetEnumeratorGetEnumerator Returns an enumerator that iterates through the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodRemoveRemoveRemove Removes a specific library from the XPathLibraryCollectionXPathLibraryCollectionXPathLibraryCollection.
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Remarks

This class is used by LibrariesLibrariesLibraries to set the libraries that should be made available to an XQuery program, XPath expression or XSL transformation.

Imported libraries do not have to have unique target namespaces, and two libraries containing the same function can both be imported (for example XQuery11FunctionsXQuery11FunctionsXQuery11Functions and XsltFunctionsXsltFunctionsXsltFunctions can both be imported).