ArgIterator.GetNextArgType Method

Definition

Returns the type of the next argument.

public:
 RuntimeTypeHandle GetNextArgType();
public RuntimeTypeHandle GetNextArgType ();
member this.GetNextArgType : unit -> RuntimeTypeHandle
Public Function GetNextArgType () As RuntimeTypeHandle

Returns

The type of the next argument.

Remarks

This method does not advance the iterator to the next argument.

GetNextArgType returns the type of the argument as specified in the calling function. For example, if an argument is type String, but the calling function specifies the argument as type Object, GetNextArgType reports the argument as type Object.

Applies to