IVsUIDataConverterManager.GetObjectConverter Method
Get a convertor for a specified object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetObjectConverter ( _
pObject As IVsUIObject, _
dwDataFormatTo As UInteger, _
<OutAttribute> ByRef ppConverter As IVsUIDataConverter _
) As Integer
int GetObjectConverter(
IVsUIObject pObject,
uint dwDataFormatTo,
out IVsUIDataConverter ppConverter
)
int GetObjectConverter(
[InAttribute] IVsUIObject^ pObject,
[InAttribute] unsigned int dwDataFormatTo,
[OutAttribute] IVsUIDataConverter^% ppConverter
)
abstract GetObjectConverter :
pObject:IVsUIObject *
dwDataFormatTo:uint32 *
ppConverter:IVsUIDataConverter byref -> int
function GetObjectConverter(
pObject : IVsUIObject,
dwDataFormatTo : uint,
ppConverter : IVsUIDataConverter
) : int
Parameters
pObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject[in] The object to convert.
dwDataFormatTo
Type: 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: Int32
Returns S_OK if the convertor was returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.