XamlDirect.GetTimeSpanProperty(IXamlDirectObject, XamlPropertyIndex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of a TimeSpan property for a specific IXamlDirectObject.
public:
virtual TimeSpan GetTimeSpanProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetTimeSpanProperty;
TimeSpan GetTimeSpanProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public System.TimeSpan GetTimeSpanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getTimeSpanProperty(xamlDirectObject, propertyIndex)
Public Function GetTimeSpanProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As TimeSpan
Parameters
- xamlDirectObject
- IXamlDirectObject
A reference to the specific IXamlDirectObject.
- propertyIndex
- XamlPropertyIndex
A reference to the TimeSpan property to get the value of from the list of supported properties in XamlPropertyIndex enum.
Returns
TimeSpan value of the specified property.