다음을 통해 공유


XamlDirect.SetStringProperty 메서드

정의

특정 IXamlDirectObject에 대한 문자열 속성 값을 설정합니다.

public:
 virtual void SetStringProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::String ^ value) = SetStringProperty;
void SetStringProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, winrt::hstring const& value);
public void SetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, string value);
function setStringProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetStringProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As String)

매개 변수

xamlDirectObject
IXamlDirectObject

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

propertyIndex
XamlPropertyIndex

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

value
String

Platform::String

winrt::hstring

지정된 속성으로 설정할 문자열 값입니다.

적용 대상

추가 정보