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