Edit

Share via


InputScopeConverter.ConvertFrom Method

Definition

Converts a source object (string) into an InputScope object.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ source);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object source);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, source As Object) As Object

Parameters

context
ITypeDescriptorContext

An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.

culture
CultureInfo

A CultureInfo object containing any cultural context for the conversion. This parameter may be null.

source
Object

A source object to convert from. This object must be a string.

Returns

An InputScope object converted from the specified source object.

Applies to