IVsUIDataConverterManager::GetObjectConverter Method (IVsUIObject^, UInt32, IVsUIDataConverter^)

 

Get a convertor for a specified object.

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

int GetObjectConverter(
	IVsUIObject^ pObject,
	unsigned int dwDataFormatTo,
	[OutAttribute] IVsUIDataConverter^% ppConverter
)

Parameters

pObject
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIObject^

[in] The object to convert.

dwDataFormatTo
Type: System::UInt32

[in] The target format.

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

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

Return Value

Type: System::Int32

Returns S_OK if the convertor was returned.

Return to top
Show: