MapSpanTypeConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |