Share via


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

指定属性的双精度值。

适用于

另请参阅