Share via


XamlDirect.SetObjectProperty Methode

Definition

Legt den Wert einer Objekteigenschaft für ein bestimmtes IXamlDirectObject fest.

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

Ein Verweis auf das spezifische IXamlDirectObject.

propertyIndex
XamlPropertyIndex

Ein Verweis auf die Objekteigenschaft , um den Wert von aus der Liste der unterstützten Eigenschaften in xamlPropertyIndex-Enumeration festzulegen.

value
Object

Platform::Object

IInspectable

Objektwert , der auf die angegebene Eigenschaft festgelegt werden soll.

Gilt für:

Weitere Informationen