Compartir a través de


IVsShell3 Interface

Supplies shell services in addition to the IVsShell interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("07BDC931-E86D-4531-A59C-20C614D6E492")> _
Public Interface IVsShell3
[InterfaceTypeAttribute()]
[GuidAttribute("07BDC931-E86D-4531-A59C-20C614D6E492")]
public interface IVsShell3
[InterfaceTypeAttribute()]
[GuidAttribute(L"07BDC931-E86D-4531-A59C-20C614D6E492")]
public interface class IVsShell3
[<InterfaceTypeAttribute()>]
[<GuidAttribute("07BDC931-E86D-4531-A59C-20C614D6E492")>]
type IVsShell3 =  interface end
public interface IVsShell3

The IVsShell3 type exposes the following members.

Methods

  Name Description
Public method IsRunningElevated Check to see if the application is running as an admin.
Public method RestartElevated Restart the application, asking for credentials from the user if not running as administrator, or start as admin if the user has admin privileges.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace