Share via


MethodCall.HasVarArgs 屬性

定義

取得值,指出方法是否接受變動數目的引數。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 property bool HasVarArgs { bool get(); };
public bool HasVarArgs { get; }
public bool HasVarArgs { [System.Security.SecurityCritical] get; }
member this.HasVarArgs : bool
[<get: System.Security.SecurityCritical>]
member this.HasVarArgs : bool
Public ReadOnly Property HasVarArgs As Boolean

屬性值

如果方法可以接受可變個數的引數,則為 true,否則為 false

實作

屬性

備註

方法屬於遠程物件。

適用於