XamlDirect.GetDateTimeProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetDateTimeProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetDateTimeProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetDateTimeProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

public : DateTime GetDateTimeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
DateTime GetDateTimeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex) const;
public DateTimeOffset GetDateTimeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
Public Function GetDateTimeProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As DateTimeOffset

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

Returns

DateTimeOffset DateTimeOffset

DateTimeOffset value of the specified property.

See also