Share via


IVsUIDataConverterManager.GetConverter Method

Returns a IVsUIDataConverter for a specified conversion.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetConverter ( _
    TypeName As String, _
    dwDataFormatFrom As UInteger, _
    dwDataFormatTo As UInteger, _
    <OutAttribute> ByRef ppConverter As IVsUIDataConverter _
) As Integer
int GetConverter(
    string TypeName,
    uint dwDataFormatFrom,
    uint dwDataFormatTo,
    out IVsUIDataConverter ppConverter
)
int GetConverter(
    [InAttribute] String^ TypeName, 
    [InAttribute] unsigned int dwDataFormatFrom, 
    [InAttribute] unsigned int dwDataFormatTo, 
    [OutAttribute] IVsUIDataConverter^% ppConverter
)
abstract GetConverter : 
        TypeName:string * 
        dwDataFormatFrom:uint32 * 
        dwDataFormatTo:uint32 * 
        ppConverter:IVsUIDataConverter byref -> int 
function GetConverter(
    TypeName : String, 
    dwDataFormatFrom : uint, 
    dwDataFormatTo : uint, 
    ppConverter : IVsUIDataConverter
) : int

Parameters

  • TypeName
    Type: System.String
    [in] The name of the data type family.
  • dwDataFormatFrom
    Type: System.UInt32
    [in] An array of source formats.
  • dwDataFormatTo
    Type: System.UInt32
    [in] An array of resulting formats.

Return Value

Type: System.Int32
Returns S_OK if the convertor was returned.

.NET Framework Security

See Also

Reference

IVsUIDataConverterManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace