IAttachedPropertyStore.SetProperty(AttachableMemberIdentifier, Object) 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 member in the specified store.
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)
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
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.