KeyValueSerializer.ConvertFromString Method (String, IValueSerializerContext)

 

Converts a String into a Key.

Namespace:   System.Windows.Input
Assembly:  WindowsBase (in WindowsBase.dll)

public override object ConvertFromString(
	string value,
	IValueSerializerContext context
)

Parameters

value
Type: System.String

The string to convert into a Key.

context
Type: System.Windows.Markup.IValueSerializerContext

Context information that is used for conversion.

Return Value

Type: System.Object

A new instance of Key based on the supplied value.

.NET Framework
Available since 3.0
Return to top
Show: