Share via


IVsUIDataConverter.Convert Method

Converts a data object.

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

Syntax

'Declaration
Function Convert ( _
    pObject As IVsUIObject, _
    <OutAttribute> ByRef ppConvertedObject As IVsUIObject _
) As Integer
int Convert(
    IVsUIObject pObject,
    out IVsUIObject ppConvertedObject
)
int Convert(
    [InAttribute] IVsUIObject^ pObject, 
    [OutAttribute] IVsUIObject^% ppConvertedObject
)
abstract Convert : 
        pObject:IVsUIObject * 
        ppConvertedObject:IVsUIObject byref -> int
function Convert(
    pObject : IVsUIObject, 
    ppConvertedObject : IVsUIObject
) : int

Parameters

Return Value

Type: System.Int32
Returns S_OK if the data was converted.

.NET Framework Security

See Also

Reference

IVsUIDataConverter Interface

Microsoft.VisualStudio.Shell.Interop Namespace