ArgIterator.GetNextArg 方法

定義

傳回可變長度引數清單中的下一個引數。

多載

GetNextArg()

傳回可變長度引數清單中的下一個引數。

GetNextArg(RuntimeTypeHandle)

傳回可變長度引數清單中的具有指定型別的下一個引數。

GetNextArg()

來源:
ArgIterator.cs
來源:
ArgIterator.cs
來源:
ArgIterator.cs

重要

此 API 不符合 CLS 規範。

傳回可變長度引數清單中的下一個引數。

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

傳回

做為 TypedReference 物件的下一個引數。

屬性

例外狀況

嘗試進行超過清單結尾的讀取。

備註

反覆運算器會自動進階至下一個引數。

適用於

GetNextArg(RuntimeTypeHandle)

來源:
ArgIterator.cs
來源:
ArgIterator.cs
來源:
ArgIterator.cs

重要

此 API 不符合 CLS 規範。

傳回可變長度引數清單中的具有指定型別的下一個引數。

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

參數

rth
RuntimeTypeHandle

識別要擷取引數型別的 Runtime 型別控制代碼。

傳回

做為 TypedReference 物件的下一個引數。

屬性

例外狀況

嘗試進行超過清單結尾的讀取。

至剩餘引數的滑鼠指標為零。

備註

反覆運算器會自動進階至下一個引數。

適用於