This documentation is archived and is not being maintained.

ArgIterator.GetNextArg Method ()

.NET Framework 1.1

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

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
<CLSCompliant(False)>
Overloads Public Function GetNextArg() As TypedReference
[C#]
[CLSCompliant(false)]
public TypedReference GetNextArg();
[C++]
[CLSCompliant(false)]
public: TypedReference GetNextArg();
[JScript]
public
   CLSCompliant(false)
function GetNextArg() : TypedReference;

Return Value

The next argument as a TypedReference object.

Exceptions

Exception Type Condition
Exception Attempt to read beyond the end of the list.

Remarks

The iterator is automatically advanced to the next argument.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ArgIterator Structure | ArgIterator Members | System Namespace | ArgIterator.GetNextArg Overload List

Show: