Utilities.Convert Method (IVsUIObject, __VSUIDATAFORMAT)
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 _
) As IVsUIObject
public static IVsUIObject Convert(
IVsUIObject source,
__VSUIDATAFORMAT targetFormat
)
public:
static IVsUIObject^ Convert(
IVsUIObject^ source,
__VSUIDATAFORMAT targetFormat
)
static member Convert :
source:IVsUIObject *
targetFormat:__VSUIDATAFORMAT -> IVsUIObject
public static function Convert(
source : IVsUIObject,
targetFormat : __VSUIDATAFORMAT
) : IVsUIObject
Parameters
- source
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
- targetFormat
Type: Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
.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.