다음을 통해 공유


IXamlDirect.SetEnumProperty(Object, XamlPropertyIndex, UInt32) 메서드

정의

특정 IXamlDirect에 대한 열거형 속성 값을 설정합니다.

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

public:
 void SetEnumProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, unsigned int value);
void SetEnumProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, uint32_t const& value);
public void SetEnumProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, uint value);
Public Sub SetEnumProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As UInteger)

매개 변수

xamlDirectObject
Object

Platform::Object

IInspectable

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

propertyIndex
XamlPropertyIndex

XamlPropertyIndex열거형의 지원되는 속성 목록에서 값을 설정할 열거형 속성에 대한 참조입니다.

value
UInt32

unsigned int

uint32_t

원하는 열거형 값을 UInt32 로 캐스팅하여 지정된 속성에 설정합니다.

적용 대상

추가 정보