共用方式為


XamlDirect.GetDoubleProperty(IXamlDirectObject, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectObjectDouble屬性值。

public:
 virtual double GetDoubleProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetDoubleProperty;
double GetDoubleProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public double GetDoubleProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getDoubleProperty(xamlDirectObject, propertyIndex)
Public Function GetDoubleProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Double

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

Double屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中取得 的值。

傳回

Double

double

指定之屬性的雙精度浮點數。

適用於

另請參閱