IXamlDirect.GetTimeSpanProperty(Object, XamlPropertyIndex) Metodo

Definizione

Ottiene il valore di una proprietà TimeSpan per un oggetto IXamlDirect specifico.

Questa documentazione si applica a WinUI 2 per la piattaforma UWP (per WinUI nel SDK per app di Windows, vedi gli spazi dei nomi SDK per app di Windows).

public:
 TimeSpan GetTimeSpanProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
TimeSpan GetTimeSpanProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public System.TimeSpan GetTimeSpanProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetTimeSpanProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As TimeSpan

Parametri

xamlDirectObject
Object

Platform::Object

IInspectable

Riferimento all'oggetto IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

Riferimento alla proprietà TimeSpan in cui ottenere il valore dall'elenco delle proprietà supportate nell'enumerazione XamlPropertyIndex .

Restituisce

Valore TimeSpan della proprietà specificata.

Si applica a

Vedi anche