Share via


XamlDirect.SetDateTimeProperty Methode

Definition

Legt den Wert einer DateTimeOffset-Eigenschaft für ein bestimmtes IXamlDirectObject fest.

public:
 virtual void SetDateTimeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, DateTime value) = SetDateTimeProperty;
void SetDateTimeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, DateTime const& value);
public void SetDateTimeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, System.DateTimeOffset value);
function setDateTimeProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetDateTimeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As DateTimeOffset)

Parameter

xamlDirectObject
IXamlDirectObject

Ein Verweis auf das spezifische IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
DateTime DateTimeOffset

DateTimeOffset-Wert , der auf die angegebene Eigenschaft festgelegt werden soll.

Gilt für:

Weitere Informationen