Share via


XamlDirect.SetDateTimeProperty Method

Definition

Sets the value of a DateTimeOffset property for a specific IXamlDirectObject.

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)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the DateTimeOffset property to set the value of from the list of supported properties in XamlPropertyIndex enum.

value
DateTime DateTimeOffset

DateTimeOffset value to set to the specified property.

Applies to

See also