PixelFormatConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Bepaalt of een exemplaar van PixelFormat kan worden geconverteerd naar een ander type.

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

Typ contextinformatie die wordt gebruikt om de conversie te evalueren.

destinationType
Type

Het gewenste type om de conversie naar te evalueren.

Retouren

trueals het conversieprogramma dit exemplaar van PixelFormat; anders kan converteren. false

Van toepassing op