Share via


XamlDirect.SetTimeSpanProperty Method

Definition

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

public:
 virtual void SetTimeSpanProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, TimeSpan value) = SetTimeSpanProperty;
void SetTimeSpanProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, TimeSpan const& value);
public void SetTimeSpanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, System.TimeSpan value);
function setTimeSpanProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetTimeSpanProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As TimeSpan)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

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

value
TimeSpan TimeSpan

TimeSpan value to set to the specified property.

Applies to

See also