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 |
|---|---|
| Serializable |
Constructors
| Name | Summary |
|---|---|
| Xml |
Initializes a new instance of the NAnt.Core.Types.XmlNamespaceCollection class.
|
| Xml |
Initializes a new instance of the NAnt.Core.Types.XmlNamespaceCollection class
with the specified array of NAnt.Core.Types.XmlNamespace instances.
|
| Xml |
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 |
int |
Adds a
NAnt.Core.Types.XmlNamespace to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.XmlNamespace array to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.XmlNamespaceCollection to the end of the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.XmlNamespace with the specified
value is in the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.XmlNamespace is in the collection.
|
| CopyTo |
void |
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
|
| GetEnumerator |
Xml |
Returns an enumerator that can iterate through the collection.
|
| IndexOf |
int |
Retrieves the index of a specified
NAnt.Core.Types.XmlNamespace object in the collection.
|
| Insert |
void |
Inserts a
NAnt.Core.Types.XmlNamespace into the collection at the specified index.
|
| Remove |
void |
Removes a member from the collection.
|
