mscorlib(4.0.0.0) API with additions
|
Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments. More...
Public Member Functions | |
ArgIterator (RuntimeArgumentHandle arglist) | |
Initializes a new instance of the T:System.ArgIterator structure using the specified argument list. More... | |
unsafe | ArgIterator (RuntimeArgumentHandle arglist, void *ptr) |
Initializes a new instance of the T:System.ArgIterator structure using the specified argument list and a pointer to an item in the list. More... | |
unsafe TypedReference | GetNextArg () |
Returns the next argument in a variable-length argument list. More... | |
unsafe TypedReference | GetNextArg (RuntimeTypeHandle rth) |
Returns the next argument in a variable-length argument list that has a specified type. More... | |
void | End () |
Concludes processing of the variable-length argument list represented by this instance. More... | |
int | GetRemainingCount () |
Returns the number of arguments remaining in the argument list. More... | |
unsafe RuntimeTypeHandle | GetNextArgType () |
Returns the type of the next argument. More... | |
override int | GetHashCode () |
Returns the hash code of this object. More... | |
override bool | Equals (object o) |
This method is not supported, and always throws T:System.NotSupportedException. More... | |
Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments.
Definition at line 7 of file ArgIterator.cs.
System.ArgIterator.ArgIterator | ( | RuntimeArgumentHandle | arglist | ) |
Initializes a new instance of the T:System.ArgIterator structure using the specified argument list.
arglist | An argument list consisting of mandatory and optional arguments. |
Definition at line 26 of file ArgIterator.cs.
unsafe System.ArgIterator.ArgIterator | ( | RuntimeArgumentHandle | arglist, |
void * | ptr | ||
) |
Initializes a new instance of the T:System.ArgIterator structure using the specified argument list and a pointer to an item in the list.
arglist | An argument list consisting of mandatory and optional arguments. |
ptr | A pointer to the argument in arglist to access first, or the first mandatory argument in arglist if ptr is null . |
Definition at line 40 of file ArgIterator.cs.
void System.ArgIterator.End | ( | ) |
Concludes processing of the variable-length argument list represented by this instance.
Definition at line 88 of file ArgIterator.cs.
override bool System.ArgIterator.Equals | ( | object | o | ) |
This method is not supported, and always throws T:System.NotSupportedException.
o | An object to be compared to this instance. |
T:System.NotSupportedException | This method is not supported. |
Definition at line 121 of file ArgIterator.cs.
override int System.ArgIterator.GetHashCode | ( | ) |
Returns the hash code of this object.
Definition at line 112 of file ArgIterator.cs.
unsafe TypedReference System.ArgIterator.GetNextArg | ( | ) |
Returns the next argument in a variable-length argument list.
T:System.InvalidOperationException | An attempt was made to read beyond the end of the list. |
Definition at line 50 of file ArgIterator.cs.
unsafe TypedReference System.ArgIterator.GetNextArg | ( | RuntimeTypeHandle | rth | ) |
Returns the next argument in a variable-length argument list that has a specified type.
rth | A runtime type handle that identifies the type of the argument to retrieve. |
T:System.InvalidOperationException | An attempt was made to read beyond the end of the list. |
T:System.ArgumentNullException | The pointer to the remaining arguments is zero. |
Definition at line 68 of file ArgIterator.cs.
unsafe RuntimeTypeHandle System.ArgIterator.GetNextArgType | ( | ) |
Returns the type of the next argument.
Definition at line 105 of file ArgIterator.cs.
int System.ArgIterator.GetRemainingCount | ( | ) |
Returns the number of arguments remaining in the argument list.