Summary
Contains a collection of
NAnt.Core.Types.EnvironmentVariable
elements.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Types - Base Types
-
- CollectionBase
graph BT
Type-->Base0["CollectionBase"]
Type["EnvironmentVariableCollection"]
class Type type-node
Syntax
[Serializable()]
public class EnvironmentVariableCollection : CollectionBase
Attributes
Type | Description |
---|---|
Serializable |
Constructors
Name | Summary |
---|---|
Environment |
Initializes a new instance of the NAnt.Core.Types.EnvironmentVariableCollection class.
|
Environment |
Initializes a new instance of the NAnt.Core.Types.EnvironmentVariableCollection class
with the specified array of NAnt.Core.Types.EnvironmentVariable instances.
|
Environment |
Initializes a new instance of the NAnt.Core.Types.EnvironmentVariableCollection class
with the specified NAnt.Core.Types.EnvironmentVariableCollection instance.
|
Properties
Name | Value | Summary |
---|---|---|
this[int] | EnvironmentVariable |
Gets or sets the element at the specified index.
|
this[string] | EnvironmentVariable |
Gets the
NAnt.Core.Types.EnvironmentVariable with the specified name.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
int |
Adds a
NAnt.Core.Types.EnvironmentVariable to the end of the collection.
|
AddRange |
void |
Adds the elements of a
NAnt.Core.Types.EnvironmentVariable array to the end of the collection.
|
AddRange |
void |
Adds the elements of a
NAnt.Core.Types.EnvironmentVariableCollection to the end of the collection.
|
Contains |
bool |
Determines whether a
NAnt.Core.Types.EnvironmentVariable is in the collection.
|
Contains |
bool |
Determines whether a
NAnt.Core.Types.EnvironmentVariable with the specified
value 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 |
Environment |
Returns an enumerator that can iterate through the collection.
|
IndexOf |
int |
Retrieves the index of a specified
NAnt.Core.Types.EnvironmentVariable object in the collection.
|
Insert |
void |
Inserts a
NAnt.Core.Types.EnvironmentVariable into the collection at the specified index.
|
Remove |
void |
Removes a member from the collection.
|