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
參數
- context
類型:System.ComponentModel.ITypeDescriptorContext
- sourceType
類型:System.Type
傳回值
版本資訊
適用於 Windows Phone 應用程式的 .NET
支援版本:Windows Phone 8、Silverlight 8.1
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。