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 указанного свойства.