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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。