共用方式為


GeoCoordinateCollectionConverter.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 安全性

請參閱

參考

GeoCoordinateCollectionConverter 類別

CanConvertFrom 多載

Microsoft.Phone.Maps.Controls 命名空間