PointCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Avgör om en instans av en PointCollection kan konverteras till en annan typ.
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
Parametrar
- context
- ITypeDescriptorContext
Kontextinformation av en typ.
- destinationType
- Type
Den typ som behövs för vilken du utvärderar detta PointCollection för konvertering.
Returer
true om detta PointCollection kan konverteras till destinationType, annars , false.