ElementPropertyDescriptor.Converter Property
Gets the converter for the described property.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Overrides ReadOnly Property Converter As TypeConverter
Get
public override TypeConverter Converter { get; }
public:
virtual property TypeConverter^ Converter {
TypeConverter^ get () override;
}
abstract Converter : TypeConverter
override Converter : TypeConverter
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementPropertyDescriptor Class