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

 

Registers the convertor with the shell.

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

int RegisterConverter(
	String^ TypeName,
	unsigned int dwDataFormatFrom,
	unsigned int dwDataFormatTo,
	IVsUIDataConverter^ pConverter
)

Parameters

TypeName
Type: System::String^

[in] The type of the data family.

dwDataFormatFrom
Type: System::UInt32

[in] The source format for this convertor.

dwDataFormatTo
Type: System::UInt32

[in] The target format for this convertor.

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

[in] The convertor to use.

Return Value

Type: System::Int32

Returns S_OK if the convertor was registered.

Return to top
Show: