StringCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metodo

Definizione

Determina se questo convertitore può convertire un elenco di stringhe specificato in un oggetto StringCollection.

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

Parametri

context
ITypeDescriptorContext

Oggetto che fornisce un contesto di formato.

sourceType
Type

Tipo da cui eseguire la conversione.

Valori restituiti

true se questo convertitore può eseguire la conversione; in caso contrario, false.

Si applica a