NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlAttributeCollection Methods

The methods of the XmlAttributeCollection class are listed below. For a complete list of XmlAttributeCollection class members, see the XmlAttributeCollection Members topic.

Public:

Append Inserts the specified node as the last node in the collection.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetEnumerator (inherited from XmlNamedNodeMap) Provides a simple ForEach-style iteration over the collection of nodes in this XmlNamedNodeMap.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetNamedItem (inherited from XmlNamedNodeMap) Overloaded. Retrieves the specified XmlNode from the collection of nodes in this XmlNamedNodeMap.
GetType (inherited from Object) Gets the Type of the Object.
InsertAfter Inserts the specified attribute immediately after the specified reference attribute.
InsertBefore Inserts the specified attribute immediately before the specified reference attribute.
Item (inherited from XmlNamedNodeMap) Retrieves the node at the specified index in this XmlNamedNodeMap.
Prepend Inserts the specified node as the first node in the collection.
Remove Removes the attribute node with the specified index from the map.
RemoveAll Removes all attributes from the map.
RemoveAt Removes the attribute node with the specified index from the map.
RemoveNamedItem (inherited from XmlNamedNodeMap) Overloaded. Removes the specified node from this XmlNamedNodeMap.
SetNamedItem Adds a XmlNode using its Name property
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlAttributeCollection Class | System.NewXml Namespace