Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlAttributeCollection Methods

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

Public Methods

public methodAppend

Supported by the .NET Compact Framework.

Inserts the specified attribute as the last node in the collection.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies all the XmlAttribute objects from this collection into the given array.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from XmlNamedNodeMap)

Supported by the .NET Compact Framework.

Provides support for the "foreach" style iteration over the collection of nodes in the XmlNamedNodeMap.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetNamedItem (inherited from XmlNamedNodeMap)

Supported by the .NET Compact Framework.

Overloaded. Retrieves the specified XmlNode from the collection of nodes in the XmlNamedNodeMap.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInsertAfter

Supported by the .NET Compact Framework.

Inserts the specified attribute immediately after the specified reference attribute.
public methodInsertBefore

Supported by the .NET Compact Framework.

Inserts the specified attribute immediately before the specified reference attribute.
public methodItem (inherited from XmlNamedNodeMap)

Supported by the .NET Compact Framework.

Retrieves the node at the specified index in the XmlNamedNodeMap.
public methodPrepend

Supported by the .NET Compact Framework.

Inserts the specified attribute as the first node in the collection.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified attribute from the collection.
public methodRemoveAll

Supported by the .NET Compact Framework.

Removes all attributes from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the attribute corresponding to the specified index from the collection.
public methodRemoveNamedItem (inherited from XmlNamedNodeMap)

Supported by the .NET Compact Framework.

Overloaded. Removes the specified node from the XmlNamedNodeMap.
public methodSetNamedItem

Supported by the .NET Compact Framework.

Overridden. Adds a XmlNode using its Name property
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

XmlAttributeCollection Class | System.Xml Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.