CallInfo 類別

定義

描述動態繫結處理序中的引數。

public ref class CallInfo sealed
public sealed class CallInfo
type CallInfo = class
Public NotInheritable Class CallInfo
繼承
CallInfo

範例

SampleMethod(arg1, arg2, arg3, name1 = arg4, name2 = arg5, name3 = arg6) 會對應至 ArgumentCount: 6 ArgumentNames: {"name1", "name2", "name3"}

備註

ArgumentCount - 所有內含自變數數目。

ArgumentNames - 所命名之自變數的名稱。

自變數名稱符合左至右順序的自變數值,而姓氏會對應至最後一個自變數。

建構函式

CallInfo(Int32, IEnumerable<String>)

建立新的 CallInfo,表示動態繫結處理序中的引數。

CallInfo(Int32, String[])

建立新的 PositionalArgumentInfo

屬性

ArgumentCount

引數數目。

ArgumentNames

引數名稱。

方法

Equals(Object)

判斷指定的 CallInfo 執行個體是否視為等於目前的執行個體。

GetHashCode()

做為目前 CallInfo 的雜湊函式。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於