ParameterAttribute.CaptureUnmatchedValues Proprietà

Definizione

Ottiene o imposta un valore che determina se il parametro acquisisce valori che non corrispondono ad altri parametri.

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

Valore della proprietà

Commenti

CaptureUnmatchedValues consente a un componente di accettare attributi aggiuntivi arbitrari e di passarli a un altro componente o a un elemento del markup sottostante.

CaptureUnmatchedValues può essere usato al massimo un parametro per ogni componente.

CaptureUnmatchedValues deve essere applicato solo ai parametri di un tipo che può essere usato con AddMultipleAttributes(Int32, IEnumerable<KeyValuePair<String,Object>>) , ad esempio Dictionary<TKey,TValue>.

Si applica a