ParameterAttribute.CaptureUnmatchedValues プロパティ

定義

パラメーターが他のパラメーターと一致しない値をキャプチャするかどうかを決定する値を取得または設定します。

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

プロパティ値

注釈

CaptureUnmatchedValues を使用すると、コンポーネントは任意の追加属性を受け入れ、別のコンポーネントまたは基になるマークアップの要素に渡すことができます。

CaptureUnmatchedValues は、コンポーネントごとに最大 1 つのパラメーターで使用できます。

CaptureUnmatchedValuesなど と共AddMultipleAttributes(Int32, IEnumerable<KeyValuePair<String,Object>>)Dictionary<TKey,TValue>に使用できる型のパラメーターにのみ適用する必要があります。

適用対象