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 (in Microsoft.VisualStudio.Shell.dll)

Syntax

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Enum Or AttributeTargets.Property Or AttributeTargets.Field)> _
Public NotInheritable Class PropertyPageTypeConverterAttribute _
    Inherits Attribute

Dim instance As PropertyPageTypeConverterAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Field)]
public sealed class PropertyPageTypeConverterAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Enum|AttributeTargets::Property|AttributeTargets::Field)]
public ref class PropertyPageTypeConverterAttribute sealed : public Attribute
public final class PropertyPageTypeConverterAttribute extends Attribute

Remarks

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

For examples of the attribute in use, see the StructuresEnums.cs project source file.

For information about implementing type converters, see How to: Implement a Type Converter. For more general information about attributes and metadata, see Attributes Overview and Extending Metadata Using Attributes.

Inheritance Hierarchy

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

Thread Safety

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

See Also

Reference

PropertyPageTypeConverterAttribute Members

Microsoft.VisualStudio.Shell Namespace