MapPointConverter.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 whether the specified type can be converted to a Point.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
public override bool CanConvertFrom(
    ITypeDescriptorContext context,
    Type sourceType
)

Parameters

Return Value

Type: System..::.Boolean
true if the specified type can be converted to a Point; otherwise false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MapPointConverter Class

CanConvertFrom Overload

Microsoft.Phone.Maps.Controls Namespace