StringCollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) StringCollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) StringCollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) StringCollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Definición

Convierte un objeto de tipo StringCollection a String o InstanceDescriptor.Converts an object of type StringCollection to a String or InstanceDescriptor.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parámetros

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

Objeto que proporciona un contexto de formato.An object that provides a format context.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

Objeto que se va a usar como referencia cultural actual.The object to use as the current culture.

value
Object Object Object Object

Valor StringCollection que se va a convertir.The StringCollection to convert.

destinationType
Type Type Type Type

Tipo al que se va a convertir value.The type to convert the value to.

Devoluciones

El valor convertido.The converted value.

Excepciones

value es null.value is null.

O bien-or- destinationType es null.destinationType is null.

Se aplica a