Udostępnij za pośrednictwem


EdgePointCollectionConverter Class

Definition

TypeConverter for EdgePointCollection instances, so it can be serialized in human read-able form. The converted EdgePointCollection will have syntax "[(x : y : flag); (x : y : flag); ...]", where the flag can be omitted for Normal. For backward compatibility, the converter also supports converting from a string produced by binary serializer, but it will never convert an EdgePointCollection to binary form.

public ref class EdgePointCollectionConverter sealed : System::ComponentModel::TypeConverter
public sealed class EdgePointCollectionConverter : System.ComponentModel.TypeConverter
type EdgePointCollectionConverter = class
    inherit TypeConverter
Public NotInheritable Class EdgePointCollectionConverter
Inherits TypeConverter
Inheritance
EdgePointCollectionConverter

Constructors

EdgePointCollectionConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Only supports converting from string.

CanConvertTo(ITypeDescriptorContext, Type)

Only supports converting to string.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts from a string.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts to a string.

Applies to