Delen via


IXamlType.CreateFromString(String) Method

Definition

Creates a type system representation based on a string. The main scenario for this usage is creating an enumeration value and mapping the appropriate enumeration.

public:
 Platform::Object ^ CreateFromString(Platform::String ^ value);
IInspectable CreateFromString(winrt::hstring const& value);
public object CreateFromString(string value);
function createFromString(value)
Public Function CreateFromString (value As String) As Object

Parameters

value
String

Platform::String

winrt::hstring

The string to create from.

Returns

Object

Platform::Object

IInspectable

The resulting type system representation.

Applies to