Udostępnij za pośrednictwem


PropertyPageTypeConverterAttribute Class

Definition

Defines our type converter.

public ref class PropertyPageTypeConverterAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class PropertyPageTypeConverterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type PropertyPageTypeConverterAttribute = class
    inherit Attribute
Public NotInheritable Class PropertyPageTypeConverterAttribute
Inherits Attribute
Inheritance
PropertyPageTypeConverterAttribute
Attributes

Remarks

This is needed to get rid of the type TypeConverter type that could not give back the Type we were passing to him. We do not want to use reflection to get the type back from the ConverterTypeName. Also the GetType mthos does not spwan converters from other assemblies.

Constructors

PropertyPageTypeConverterAttribute(Type)

Creates a new instance of the class for the specified type.

Properties

ConverterType

The type that is to be converted.

Applies to