AttachablePropertyServices.SetProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a value for the specified attachable property in the specified store.
public:
static void SetProperty(System::Object ^ instance, System::Xaml::AttachableMemberIdentifier ^ name, System::Object ^ value);
public static void SetProperty (object instance, System.Xaml.AttachableMemberIdentifier name, object value);
static member SetProperty : obj * System.Xaml.AttachableMemberIdentifier * obj -> unit
Public Shared Sub SetProperty (instance As Object, name As AttachableMemberIdentifier, value As Object)
Parameters
- instance
- Object
A specific attachable property store that implements IAttachedPropertyStore; or any non-null object to use a static default attachable property store.
The identifier of the attachable property entry for which to set a value.
- value
- Object
The value to set.
Exceptions
A value could not be set in the store.
name
is null
.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.