IXamlType.CreateFromString method

Applies to Windows and Windows Phone

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.

Syntax


object CreateFromString(
  string value
)

Parameters

value

Type: System.String [.NET] | Platform::String [C++]

The string to create from.

Return value

Type: System.Object [.NET] | Platform::Object [C++]

The resulting type system representation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Markup
Windows::UI::Xaml::Markup [C++]

Metadata

Windows.winmd

See also

IXamlType

 

 

Show:
© 2014 Microsoft