Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft