Bagikan melalui


XamlDirect.SetObjectProperty Metode

Definisi

Mengatur nilai properti objek untuk IXamlDirectObject tertentu.

public:
 virtual void SetObjectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::Object ^ value) = SetObjectProperty;
void SetObjectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, IInspectable const& value);
public void SetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, object value);
function setObjectProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetObjectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Object)

Parameter

xamlDirectObject
IXamlDirectObject

Referensi ke IXamlDirectObject tertentu.

propertyIndex
XamlPropertyIndex

Referensi ke properti objek untuk mengatur nilai dari daftar properti yang didukung di enum XamlPropertyIndex .

value
Object

Platform::Object

IInspectable

nilai objek yang akan diatur ke properti yang ditentukan.

Berlaku untuk

Lihat juga