อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


IAttachedPropertyStore.SetProperty(AttachableMemberIdentifier, Object) Method

Definition

Sets a value for the specified attachable member in the specified store.

C#
public void SetProperty(System.Xaml.AttachableMemberIdentifier attachableMemberIdentifier, object value);

Parameters

attachableMemberIdentifier
AttachableMemberIdentifier

The XAML type system identifier for the attachable member entry to set.

value
Object

The value to set.

Remarks

An implementation should not throw an exception if the specific attachable member already exists. If a member already exists, the implementation should overwrite any existing value with value.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also