Bagikan melalui


IVsUIDataConverterManager.GetObjectConverter Method

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)

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

Return Value

Type: System.Int32
Returns S_OK if the convertor was returned.

.NET Framework Security

See Also

Reference

IVsUIDataConverterManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace