Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ArgIterator::GetNextArg Method (RuntimeTypeHandle)

 

Returns the next argument in a variable-length argument list that has a specified type.

This API is not CLS-compliant.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
[CLSCompliantAttribute(false)]
TypedReference GetNextArg(
	RuntimeTypeHandle rth
)

Parameters

rth
Type: System::RuntimeTypeHandle

A runtime type handle that identifies the type of the argument to retrieve.

Return Value

Type: System::TypedReference

The next argument as a TypedReference object.

Exception Condition
InvalidOperationException

An attempt was made to read beyond the end of the list.

ArgumentNullException

The pointer to the remaining arguments is zero.

The iterator is automatically advanced to the next argument.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft