SourceLocationTypeConverter Class

Definition

Type converter for the SourceLocation type.

public ref class SourceLocationTypeConverter : System::ComponentModel::TypeConverter
public class SourceLocationTypeConverter : System.ComponentModel.TypeConverter
type SourceLocationTypeConverter = class
    inherit TypeConverter
Public Class SourceLocationTypeConverter
Inherits TypeConverter
Inheritance
SourceLocationTypeConverter

Constructors

SourceLocationTypeConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the given object to a SourceLocation instance, using the specified context and culture information.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the given SourceLocation object to the specified type, using the specified context and culture information.

Applies to