ParameterInfo.IsLcid 屬性

定義

會取得一個值,表示該參數是否為區域識別碼(licid)。

public:
 property bool IsLcid { bool get(); };
public bool IsLcid { get; }
member this.IsLcid : bool
Public ReadOnly Property IsLcid As Boolean

屬性值

true若參數為區域識別碼;否則,。 false

備註

此方法依賴於可選的元資料旗標。 編譯器可以插入此旗標,但編譯器並無義務這麼做。

此方法利用 Lcid 列舉器的旗標 ParameterAttributes

要取得 ParameterInfo 陣列,先取得方法或建構子,然後呼叫 MethodBase.GetParameters

適用於