Compartilhar via


DataConnectionProperties.ICustomTypeDescriptor.GetConverter Method

Retrieves a type converter for the specified object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Private Function GetConverter As TypeConverter 
    Implements ICustomTypeDescriptor.GetConverter
TypeConverter ICustomTypeDescriptor.GetConverter()
private:
virtual TypeConverter^ GetConverter() sealed = ICustomTypeDescriptor::GetConverter
private abstract GetConverter : unit -> TypeConverter  
private override GetConverter : unit -> TypeConverter
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.TypeConverter
A TypeConverter appropriate for the specified object, or nulla null reference (Nothing in Visual Basic) if there is no TypeConverter for this object.

Implements

ICustomTypeDescriptor.GetConverter()

Remarks

In cases where the method returns null, use the default TypeConverter. This method provides an implementation of the GetConverter method. For more information, see the GetConverter method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace