Share via


MapSpanTypeConverter Class

Definition

A type converter that converts a string representation to a MapSpan object.

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

Remarks

Supported formats:

  • "latitude,longitude,latitudeDegrees,longitudeDegrees" (e.g., "36.9628,-122.0195,0.01,0.01")

Constructors

Name Description
MapSpanTypeConverter()

Methods

Name Description
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.

CanConvertTo(ITypeDescriptorContext, Type)

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

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the given object to the type of this converter, using the specified context and culture information.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

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

Applies to