Share via


Utilities.Convert Method (IVsUIObject, __VSUIDATAFORMAT, IServiceProvider)

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function Convert ( _
    source As IVsUIObject, _
    targetFormat As __VSUIDATAFORMAT, _
    sp As IServiceProvider _
) As IVsUIObject
public static IVsUIObject Convert(
    IVsUIObject source,
    __VSUIDATAFORMAT targetFormat,
    IServiceProvider sp
)
public:
static IVsUIObject^ Convert(
    IVsUIObject^ source, 
    __VSUIDATAFORMAT targetFormat, 
    IServiceProvider^ sp
)
static member Convert : 
        source:IVsUIObject * 
        targetFormat:__VSUIDATAFORMAT * 
        sp:IServiceProvider -> IVsUIObject
public static function Convert(
    source : IVsUIObject, 
    targetFormat : __VSUIDATAFORMAT, 
    sp : IServiceProvider
) : IVsUIObject

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject

.NET Framework Security

See Also

Reference

Utilities Class

Convert Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace