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

Definition

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

public : TimeSpan GetTimeSpanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
TimeSpan GetTimeSpanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex) const;
public TimeSpan GetTimeSpanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
Public Function GetTimeSpanProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As TimeSpan

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

Returns

TimeSpan TimeSpan

TimeSpan value of the specified property.

See also