XamlDirect.GetDurationProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

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

Duration GetDurationProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Duration GetDurationProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getDurationProperty(xamlDirectObject, propertyIndex)
Public Function GetDurationProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Duration

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

Returns

Duration value of the specified property.

Applies to

See also