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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.