NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArgIterator Constructor (RuntimeArgumentHandle, Int32*)

Initializes a new instance of the ArgIterator class that points to the specified argument within the specified argument list. If the function takes a fixed number of required arguments followed by a variable number of optional arguments, this constructor would be used to point to the last fixed argument so that a call to the GetNextArg method would retrieve the first variable argument.

[Visual Basic]
Overloads Public Sub New( _
   ByVal arglist As RuntimeArgumentHandle, _
   ByVal ptr As Int32* _
)
[C#]
public ArgIterator(
   RuntimeArgumentHandle arglist,
   Int32* ptr
);
[C++]
public: ArgIterator(
   RuntimeArgumentHandle arglist,
   Int32** ptr
);
[JScript]
public function ArgIterator(
   arglist : RuntimeArgumentHandle,
   ptr : Int32*
);

Parameters

arglist
identifies the variable argument list to be processed. This is the value returned by the ArgList instruction.
ptr
a pointer to the argument immediately before the argument to be accessed first.

Remarks

The verifer verifies that a valid token is passed to arglist (that is one returned by the ArgList instruction). Fully trusted code could call this directly, but it is not recommended and could cause internal corruptions in the EE.

See Also

ArgIterator Structure | ArgIterator Members | System Namespace | ArgIterator Constructor Overload List