ArgIterator::GetNextArg Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the next argument in a variable-length argument list.

This API is not CLS-compliant.

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

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

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.

The iterator is automatically advanced to the next argument.

.NET Framework
Available since 1.1
Return to top
Show: