Compartir a través de


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

  • dwDataFormatTo
    Type: UInt32

    [in] The target format.

Return Value

Type: Int32
Returns S_OK if the convertor was returned.

.NET Framework Security

See Also

Reference

IVsUIDataConverterManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace