Show / Hide Table of Contents

Class VS

The entry point for a wide variety of extensibility helper classes and methods.

Inheritance
System.Object
VS
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Community.VisualStudio.Toolkit
Assembly: Community.VisualStudio.Toolkit.dll
Syntax
public static class VS

Properties

| Improve this Doc View Source

Commanding

A collection of services related to the command system.

Declaration
public static Commanding Commanding { get; }
Property Value
Type Description
Commanding
| Improve this Doc View Source

Debugger

A collection of services related to the debugger.

Declaration
public static Debugger Debugger { get; }
Property Value
Type Description
Debugger
| Improve this Doc View Source

Editor

A collection of services related to the editor.

Declaration
public static Editor Editor { get; }
Property Value
Type Description
Editor
| Improve this Doc View Source

Events

A collection of events.

Declaration
public static Events Events { get; }
Property Value
Type Description
Events
| Improve this Doc View Source

Notifications

A collection of services related to notifying the users.

Declaration
public static Notifications Notifications { get; }
Property Value
Type Description
Notifications
| Improve this Doc View Source

Shell

A collection of services related to the shell.

Declaration
public static Shell Shell { get; }
Property Value
Type Description
Shell
| Improve this Doc View Source

Solution

A collection of services related to solutions.

Declaration
public static Solution Solution { get; }
Property Value
Type Description
Solution
| Improve this Doc View Source

Windows

A collection of services related to windows.

Declaration
public static Windows Windows { get; }
Property Value
Type Description
Windows

Methods

| Improve this Doc View Source

GetDTEAsync()

Get the EnvDTE which provide a broad API for a large part of Visual Studio.

Declaration
public static Task<DTE2> GetDTEAsync()
Returns
Type Description
System.Threading.Tasks.Task<EnvDTE80.DTE2>
| Improve this Doc View Source

GetServiceAsync<TService, TInterface>()

Gets a global service asynchronously.

Declaration
public static Task<TInterface> GetServiceAsync<TService, TInterface>()
    where TService : class where TInterface : class
Returns
Type Description
System.Threading.Tasks.Task<TInterface>

A task who's result is the service, if found; otherwise langword_csharp_.

Type Parameters
Name Description
TService

The type identity of the service.

TInterface

The interface to cast the service to.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX