TypeConverterAttribute TypeConverterAttribute Class

Definition

Attribute that specifies the type of TypeConverter used by its target.

[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class TypeConverterAttribute : Attribute
type TypeConverterAttribute = class
    inherit Attribute
Inheritance
TypeConverterAttributeTypeConverterAttribute
Attributes

Constructors

TypeConverterAttribute() TypeConverterAttribute()

Creates a new TypeConverterAttribute with default values.

TypeConverterAttribute(String) TypeConverterAttribute(String)

Creates a new TypeConverterAttribute object that specifies that the class it decorates converts values to the typeName type.

TypeConverterAttribute(Type) TypeConverterAttribute(Type)

reates a new TypeConverterAttribute object that specifies that the class it decorates converts values to type.

Fields

Default Default

A TypeConverterAttribute that contains no information about the types to which the class that it decorates can convert values.

Properties

ConverterTypeName ConverterTypeName

The name of the type to which the class decorated with this attribute can convert values.

Methods

Equals(Object) Equals(Object)

Returns true if obj is a TypeConverterAttribute and has the same ConverterTypeName value.

GetHashCode() GetHashCode()

Returns a value that is used for efficient storage and lookup of this TypeConverterAttribute object.

Applies to