PropertyPageTypeConverterAttribute Class

 

The class representing the attribute describing how to convert property values on property pages in a package. Use this attribute rather than TypeConverterAttribute.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.PropertyPageTypeConverterAttribute

[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field)]
public sealed class PropertyPageTypeConverterAttribute : Attribute

NameDescription
System_CAPS_pubmethodPropertyPageTypeConverterAttribute(Type)

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

NameDescription
System_CAPS_pubpropertyConverterType

The type that is to be converted.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The Visual Studio package code looks for this attribute, rather than TypeConverterAttribute, to perform type conversion of properties on property pages.

For information about implementing type converters, see How to: Implement a Type Converter. For more general information about attributes and metadata, see and Extending Metadata Using Attributes.a4daf212-2410-423d-a800-7a08864e9bff

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: