Share via


ElementPropertyDescriptor.Converter Property

Gets the converter for the described property.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Converter As TypeConverter
'Usage
Dim instance As ElementPropertyDescriptor 
Dim value As TypeConverter 

value = instance.Converter
public override TypeConverter Converter { get; }
public:
virtual property TypeConverter^ Converter {
    TypeConverter^ get () override;
}
public override function get Converter () : TypeConverter

Property Value

Type: System.ComponentModel.TypeConverter
A converter for converting values to and from the type of the described property.

Remarks

If the described property is an enumeration and the TypeConverterAttribute attribute is not applied to either the type of the property or the DomainPropertyInfo that is used to create this descriptor, then a ModelingEnumerationConverter is returned.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

ElementPropertyDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace

ModelingEnumerationConverter

DomainPropertyInfo

TypeConverterAttribute

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.