IXamlType.CreateFromString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The resulting type system representation.