IXamlDirect.GetDurationProperty(Object, XamlPropertyIndex) Metodo

Definizione

Ottiene il valore di una proprietà Duration 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).

Duration GetDurationProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Duration GetDurationProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetDurationProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Duration

Parametri

xamlDirectObject
Object

IInspectable

Riferimento all'oggetto IXamlDirect specifico.

propertyIndex
XamlPropertyIndex

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

Restituisce

Valore di durata della proprietà specificata.

Si applica a

Vedi anche