Share via


MapPointConverter.CanConvertFrom 方法 (ITypeDescriptorContext, Type)

此成员重写 TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)

命名空间:  Microsoft.Phone.Maps.Controls
程序集:  Microsoft.Phone.Maps(在 Microsoft.Phone.Maps.dll 中)

语法

声明
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
abstract CanConvertFrom : 
        context:ITypeDescriptorContext * 
        sourceType:Type -> bool 
override CanConvertFrom : 
        context:ITypeDescriptorContext * 
        sourceType:Type -> bool 

参数

返回值

类型:System.Boolean

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

MapPointConverter 类

CanConvertFrom 重载

Microsoft.Phone.Maps.Controls 命名空间