Bagikan melalui


XamlDirect.GetTimeSpanProperty(IXamlDirectObject, XamlPropertyIndex) Metode

Definisi

Mendapatkan nilai properti TimeSpan untuk IXamlDirectObject tertentu.

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

Parameter

xamlDirectObject
IXamlDirectObject

Referensi ke IXamlDirectObject tertentu.

propertyIndex
XamlPropertyIndex

Referensi ke properti TimeSpan untuk mendapatkan nilai dari daftar properti yang didukung di enum XamlPropertyIndex .

Mengembalikan

Nilai TimeSpan dari properti yang ditentukan.

Berlaku untuk

Lihat juga