Muokkaa

Jaa


DiscoveryVersionConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Returns a value that indicates whether it is possible to change the given DiscoveryVersion to the specified type and using the specified context and culture information.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

Type descriptor format information that assists in the conversion of a DiscoveryVersion object to another type.

destinationType
Type

The type to which the DiscoveryVersion object is changed.

Returns

true if it is possible to change the specified DiscoveryVersion object to the specified type; otherwise, false.

Applies to