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)
Usage
Syntax
'Declaration
Public Overrides Function CanConvertFrom ( _
context As ITypeDescriptorContext, _
sourceType As Type _
) As Boolean
public override bool CanConvertFrom (
ITypeDescriptorContext context,
Type sourceType
)
public:
virtual bool CanConvertFrom (
ITypeDescriptorContext^ context,
Type^ sourceType
) override
public boolean CanConvertFrom (
ITypeDescriptorContext context,
Type sourceType
)
public override function CanConvertFrom (
context : ITypeDescriptorContext,
sourceType : Type
) : boolean
Parameters
- 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.
Platforms
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
Reference
PositionOriginConverter Class
PositionOriginConverter Members
Microsoft.Maps.MapControl.Design Namespace