다음을 통해 공유


IXamlDirect.GetXamlDirectObjectProperty(Object, XamlPropertyIndex) 메서드

정의

특정 IXamlDirect 에 대한 IXamlDirect 속성의 값을 가져옵니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

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

매개 변수

xamlDirectObject
Object

Platform::Object

IInspectable

특정 IXamlDirect에 대한 참조입니다.

propertyIndex
XamlPropertyIndex

XamlPropertyIndex 열거형의 지원되는 속성 목록에서 값을 가져올 IXamlDirect 속성에 대한 참조입니다.

반환

Object

Platform::Object

IInspectable

적용 대상