XamlDirect.GetInt32Property(IXamlDirectObject, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectObjectInt32屬性值。

public:
 virtual int GetInt32Property(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetInt32Property;
int GetInt32Property(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public int GetInt32Property(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getInt32Property(xamlDirectObject, propertyIndex)
Public Function GetInt32Property (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Integer

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

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

傳回

Int32

int

指定之屬性的Int32值。

適用於

另請參閱