Compartilhar via


IVsAppCommandLine Interface

Definition

This interface is used by a package to read command-line switches entered by the user.

public interface class IVsAppCommandLine
public interface class IVsAppCommandLine
__interface IVsAppCommandLine
[System.Runtime.InteropServices.Guid("C7F21561-D58A-11D2-BF4A-0080C728D9A0")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsAppCommandLine
[System.Runtime.InteropServices.Guid("C7F21561-D58A-11D2-BF4A-0080C728D9A0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAppCommandLine
[<System.Runtime.InteropServices.Guid("C7F21561-D58A-11D2-BF4A-0080C728D9A0")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsAppCommandLine = interface
[<System.Runtime.InteropServices.Guid("C7F21561-D58A-11D2-BF4A-0080C728D9A0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAppCommandLine = interface
Public Interface IVsAppCommandLine
Attributes

Remarks

This interface is safe to access from any thread.

Notes to Implementers

Implemented by the Visual Studio environment.

Notes to Callers

Call IVsAppCommandLine each time your package is loaded.

Methods

GetOption(String, Int32, String)

Retrieves the command line switches.

Applies to