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

Definición

Convierte StrokeCollection en una cadena.Converts a StrokeCollection to a string.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
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

culture
CultureInfo CultureInfo CultureInfo CultureInfo

CultureInfo que se va a utilizar como la referencia cultural actual.The CultureInfo to use as the current culture.

value
Object Object Object Object

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

destinationType
Type Type Type Type

Type en el que se va a convertir.The Type to convert to.

Devoluciones

Objeto que representa el StrokeCollection especificado.An object that represents the specified StrokeCollection.

Excepciones

Comentarios

El ConvertTo método devuelve null si value no esStrokeCollectiono si destinationType no esString o .InstanceDescriptorThe ConvertTo method returns null if value is not a StrokeCollection, or if destinationType is not String or InstanceDescriptor.

El ConvertTo método devuelve un formato serializado de entrada de lápiz (ISF) codificado en base 64.The ConvertTo method returns a base-64, encoded Ink Serialized Format (ISF). Resulta útil almacenar los datos de tinta como el ISF codificado en base 64 cuando no es posible almacenar datos de bytes sin formato, como en páginas Web.It is useful to store ink data as base-64, encoded ISF when it is not possible to store raw byte data, such as in Web pages.

Se aplica a