ParameterInfo.IsLcid 屬性

定義

取得值,指出這個參數是否為地區設定識別項 (Locale Identifier,LCID)。

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

適用於