ParameterAttribute.CaptureUnmatchedValues Property

Definition

Gets or sets a value that determines whether the parameter will capture values that don't match any other parameter.

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

Property Value

Boolean

Remarks

CaptureUnmatchedValues allows a component to accept arbitrary additional attributes, and pass them to another component, or some element of the underlying markup.

CaptureUnmatchedValues can be used on at most one parameter per component.

CaptureUnmatchedValues should only be applied to parameters of a type that can be used with AddMultipleAttributes(Int32, IEnumerable<KeyValuePair<String,Object>>) such as Dictionary<TKey,TValue>.

Applies to