GeoCoordinateConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a value that indicates to the caller whether the specified type can be converted to GeoCoordinate.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Parameters
- context
- Type: System.ComponentModel.ITypeDescriptorContext
Specifies the type context.
- sourceType
- Type: System.Type
Type to convert to GeoCoordinate.
Return Value
Type: System.BooleanTrue if the specified type can be converted to GeoCoordinate; otherwise, false.
Show: