RangeAttribute.ConvertValueInInvariantCulture プロパティ

定義

OperandType コンストラクターのtype パラメーターによって設定されたRangeAttribute(Type, String, String)に検証される値の変換で、インバリアント カルチャまたは現在のカルチャを使用するかどうかを決定する値を取得または設定します。

public:
 property bool ConvertValueInInvariantCulture { bool get(); void set(bool value); };
public bool ConvertValueInInvariantCulture { get; set; }
member this.ConvertValueInInvariantCulture : bool with get, set
Public Property ConvertValueInInvariantCulture As Boolean

プロパティ値

true 任意の変換にインバリアント カルチャを使用する場合。検証時に現在のカルチャを使用 false

注釈

このプロパティは、検証された値の変換に常にインバリアント カルチャを使用する、 Int32 または Double パラメーターを持つコンストラクターには影響しません。

適用対象