共用方式為


IVsShell3 Interface

Definition

Supplies shell services in addition to the IVsShell interface.

public interface class IVsShell3
public interface class IVsShell3
__interface IVsShell3
[System.Runtime.InteropServices.Guid("07BDC931-E86D-4531-A59C-20C614D6E492")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsShell3
[System.Runtime.InteropServices.Guid("07BDC931-E86D-4531-A59C-20C614D6E492")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsShell3
[<System.Runtime.InteropServices.Guid("07BDC931-E86D-4531-A59C-20C614D6E492")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsShell3 = interface
[<System.Runtime.InteropServices.Guid("07BDC931-E86D-4531-A59C-20C614D6E492")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsShell3 = interface
Public Interface IVsShell3
Attributes

Methods

IsRunningElevated(Boolean)

Check to see if the application is running as an admin.

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.

Applies to