Share via


DataConnectionProperties.ICustomTypeDescriptor.GetConverter Method

Retrieves a type converter for the specified object.

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

Syntax

'Declaration
Private Function GetConverter As TypeConverter 
    Implements ICustomTypeDescriptor.GetConverter
'Usage
Dim instance As DataConnectionProperties 
Dim returnValue As TypeConverter 

returnValue = CType(instance, ICustomTypeDescriptor).GetConverter()
TypeConverter ICustomTypeDescriptor.GetConverter()
private:
virtual TypeConverter^ GetConverter() sealed = ICustomTypeDescriptor::GetConverter
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.TypeConverter
Returns a TypeConverter appropriate for the specified object, or returns 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 nulla null reference (Nothing in Visual Basic), 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

DataConnectionProperties Members

Microsoft.VisualStudio.Data Namespace