XmlNamespaceCollection Class

Summary

Contains a collection of NAnt.Core.Types.XmlNamespace elements.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["XmlNamespaceCollection"] class Type type-node

Syntax

[Serializable()]
public class XmlNamespaceCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
XmlNamespaceCollection() Initializes a new instance of the NAnt.Core.Types.XmlNamespaceCollection class.
XmlNamespaceCollection(XmlNamespace[]) Initializes a new instance of the NAnt.Core.Types.XmlNamespaceCollection class with the specified array of NAnt.Core.Types.XmlNamespace instances.
XmlNamespaceCollection(XmlNamespaceCollection) Initializes a new instance of the NAnt.Core.Types.XmlNamespaceCollection class with the specified NAnt.Core.Types.XmlNamespaceCollection instance.

Properties

Name Value Summary
this[int] XmlNamespace
Gets or sets the element at the specified index.
this[string] XmlNamespace
Gets the NAnt.Core.Types.XmlNamespace with the specified prefix.

Methods

Name Value Summary
Add(XmlNamespace) int
Adds a NAnt.Core.Types.XmlNamespace to the end of the collection.
AddRange(XmlNamespace[]) void
Adds the elements of a NAnt.Core.Types.XmlNamespace array to the end of the collection.
AddRange(XmlNamespaceCollection) void
Adds the elements of a NAnt.Core.Types.XmlNamespaceCollection to the end of the collection.
Contains(string) bool
Determines whether a NAnt.Core.Types.XmlNamespace with the specified value is in the collection.
Contains(XmlNamespace) bool
Determines whether a NAnt.Core.Types.XmlNamespace is in the collection.
CopyTo(XmlNamespace[], int) void
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
GetEnumerator() XmlNamespaceEnumerator
Returns an enumerator that can iterate through the collection.
IndexOf(XmlNamespace) int
Retrieves the index of a specified NAnt.Core.Types.XmlNamespace object in the collection.
Insert(int, XmlNamespace) void
Inserts a NAnt.Core.Types.XmlNamespace into the collection at the specified index.
Remove(XmlNamespace) void
Removes a member from the collection.