XmlNamespaceManager Class
.NET Framework 4.5
Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.
System.Object
System.Xml.XmlNamespaceManager
System.Windows.Data.XmlNamespaceMappingCollection
System.Xml.Xsl.XsltContext
System.Xml.XmlNamespaceManager
System.Windows.Data.XmlNamespaceMappingCollection
System.Xml.Xsl.XsltContext
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
The XmlNamespaceManager type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() ![]() | XmlNamespaceManager | Initializes a new instance of the XmlNamespaceManager class with the specified XmlNameTable. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() ![]() | DefaultNamespace | Gets the namespace URI for the default namespace. |
![]() ![]() ![]() ![]() | NameTable | Gets the XmlNameTable associated with this object. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() ![]() | AddNamespace | Adds the given namespace to the collection. |
![]() ![]() ![]() ![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() ![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() ![]() ![]() | GetEnumerator | Returns an enumerator to use to iterate through the namespaces in the XmlNamespaceManager. |
![]() ![]() ![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() ![]() ![]() | GetNamespacesInScope | Gets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope. |
![]() ![]() ![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() ![]() | HasNamespace | Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope. |
![]() ![]() ![]() ![]() | LookupNamespace | Gets the namespace URI for the specified prefix. |
![]() ![]() ![]() ![]() | LookupPrefix | Finds the prefix declared for the given namespace URI. |
![]() ![]() ![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() ![]() | PopScope | Pops a namespace scope off the stack. |
![]() ![]() ![]() ![]() | PushScope | Pushes a namespace scope onto the stack. |
![]() ![]() ![]() ![]() | RemoveNamespace | Removes the given namespace for the given prefix. |
![]() ![]() ![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() ![]() ![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() ![]() ![]() ![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() ![]() ![]() ![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.






