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

'宣言
Private Function GetConverter As TypeConverter
    Implements ICustomTypeDescriptor.GetConverter
'使用
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

A TypeConverter appropriate for the specified object, or a 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.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data.Framework Namespace