IVsUIDataConverterManager::GetConverter Method (String^, UInt32, UInt32, IVsUIDataConverter^)

 

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)

int GetConverter(
	String^ TypeName,
	unsigned int dwDataFormatFrom,
	unsigned int dwDataFormatTo,
	[OutAttribute] IVsUIDataConverter^% ppConverter
)

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.

ppConverter
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataConverter^

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

Return Value

Type: System::Int32

Returns S_OK if the convertor was returned.

Return to top
Show: