แก้ไข

แชร์ผ่าน


ArgIterator.GetNextArg Method

Definition

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

Overloads

GetNextArg()

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

GetNextArg(RuntimeTypeHandle)

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

GetNextArg()

Source:
ArgIterator.cs
Source:
ArgIterator.cs
Source:
ArgIterator.cs

Important

This API is not CLS-compliant.

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

public:
 TypedReference GetNextArg();
[System.CLSCompliant(false)]
public TypedReference GetNextArg ();
[<System.CLSCompliant(false)>]
member this.GetNextArg : unit -> TypedReference
Public Function GetNextArg () As TypedReference

Returns

The next argument as a TypedReference object.

Attributes

Exceptions

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

Remarks

The iterator is automatically advanced to the next argument.

Applies to

GetNextArg(RuntimeTypeHandle)

Source:
ArgIterator.cs
Source:
ArgIterator.cs
Source:
ArgIterator.cs

Important

This API is not CLS-compliant.

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

public:
 TypedReference GetNextArg(RuntimeTypeHandle rth);
[System.CLSCompliant(false)]
public TypedReference GetNextArg (RuntimeTypeHandle rth);
[<System.CLSCompliant(false)>]
member this.GetNextArg : RuntimeTypeHandle -> TypedReference
Public Function GetNextArg (rth As RuntimeTypeHandle) As TypedReference

Parameters

rth
RuntimeTypeHandle

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

Returns

The next argument as a TypedReference object.

Attributes

Exceptions

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

The pointer to the remaining arguments is zero.

Remarks

The iterator is automatically advanced to the next argument.

Applies to