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
- context
Type: System.ComponentModel..::.ITypeDescriptorContext
Type context.
- sourceType
Type: System..::.Type
The type that is to be converted to a Point.
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