Sdílet prostřednictvím


PropertyValue.CreateString(String) Method

Definition

Creates a property value from a string.

public:
 static Platform::Object ^ CreateString(Platform::String ^ value);
 static IInspectable CreateString(winrt::hstring const& value);
public static object CreateString(string value);
function createString(value)
Public Shared Function CreateString (value As String) As Object

Parameters

value
String

Platform::String

winrt::hstring

The string to store in the property value.

Returns

Object

Platform::Object

IInspectable

The property value.

Applies to