Share via


IVsUIDataConverterManager.GetConverter Method

Definition

Returns a IVsUIDataConverter for a specified conversion.

public:
 int GetConverter(System::String ^ TypeName, System::UInt32 dwDataFormatFrom, System::UInt32 dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter ^ % ppConverter);
public:
 int GetConverter(Platform::String ^ TypeName, unsigned int dwDataFormatFrom, unsigned int dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter ^ &  ppConverter);
int GetConverter(std::wstring const & TypeName, unsigned int dwDataFormatFrom, unsigned int dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter const & & ppConverter);
public int GetConverter (string TypeName, uint dwDataFormatFrom, uint dwDataFormatTo, out Microsoft.VisualStudio.Shell.Interop.IVsUIDataConverter ppConverter);
abstract member GetConverter : string * uint32 * uint32 * IVsUIDataConverter -> int
Public Function GetConverter (TypeName As String, dwDataFormatFrom As UInteger, dwDataFormatTo As UInteger, ByRef ppConverter As IVsUIDataConverter) As Integer

Parameters

TypeName
String

[in] The name of the data type family.

dwDataFormatFrom
UInt32

[in] An array of source formats.

dwDataFormatTo
UInt32

[in] An array of resulting formats.

ppConverter
IVsUIDataConverter

[out] Location to return a pointer to the convertor interface.

Returns

Returns S_OK if the convertor was returned.

Applies to