Lingua

IAttachedPropertyStore.SetProperty(AttachableMemberIdentifier, Object) Metodo

Definizione

Imposta un valore per il membro associabile specificato nell'archivio specificato.

public:
 void SetProperty(System::Xaml::AttachableMemberIdentifier ^ attachableMemberIdentifier, System::Object ^ value);
public void SetProperty(System.Xaml.AttachableMemberIdentifier attachableMemberIdentifier, object value);
abstract member SetProperty : System.Xaml.AttachableMemberIdentifier * obj -> unit
Public Sub SetProperty (attachableMemberIdentifier As AttachableMemberIdentifier, value As Object)

Parametri

attachableMemberIdentifier
AttachableMemberIdentifier

Identificatore di sistema del tipo XAML per la voce del membro associabile da impostare.

value
Object

Il valore da impostare.

Commenti

Un'implementazione non deve generare un'eccezione se il membro associabile specifico esiste già. Se esiste già un membro, l'implementazione deve sovrascrivere qualsiasi valore esistente con value.

Si applica a

Vedi anche