PositionOriginConverter.CanConvertFrom Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Determines whether the specified object can be converted to a PositionOrigin.

Namespace: Microsoft.Maps.MapControl.Design
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)



Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
public override bool CanConvertFrom (
    ITypeDescriptorContext context,
    Type sourceType
virtual bool CanConvertFrom (
    ITypeDescriptorContext^ context, 
    Type^ sourceType
) override
public boolean CanConvertFrom (
    ITypeDescriptorContext context, 
    Type sourceType
public override function CanConvertFrom (
    context : ITypeDescriptorContext, 
    sourceType : Type
) : boolean


  • context
    The context to use in the conversion.
  • sourceType
    The type of the object to convert.

Return Value

Returns Boolean.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also


PositionOriginConverter Class
PositionOriginConverter Members
Microsoft.Maps.MapControl.Design Namespace