XamlDirect.GetTimeSpanProperty(IXamlDirectObject, XamlPropertyIndex) Метод

Определение

Возвращает значение свойства TimeSpan для определенного объекта 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

Параметры

xamlDirectObject
IXamlDirectObject

Ссылка на конкретный объект IXamlDirectObject.

propertyIndex
XamlPropertyIndex

Ссылка на свойство TimeSpan для получения значения из списка поддерживаемых свойств в перечислении XamlPropertyIndex .

Возвращаемое значение

Значение TimeSpan указанного свойства.

Применяется к

См. также раздел