IXamlDirect.GetPointProperty(Object, XamlPropertyIndex) 方法

定義

取得特定IXamlDirectPoint屬性值。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 Point GetPointProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex);
Point GetPointProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Point GetPointProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex);
Public Function GetPointProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex) As Point

參數

xamlDirectObject
Object

Platform::Object

IInspectable

特定 IXamlDirect的參考。

propertyIndex
XamlPropertyIndex

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

傳回

指定屬性的值。

適用於

另請參閱