Freigeben über


IVsAppCommandLine Interface

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

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("C7F21561-D58A-11D2-BF4A-0080C728D9A0")> _
Public Interface IVsAppCommandLine
[InterfaceTypeAttribute()]
[GuidAttribute("C7F21561-D58A-11D2-BF4A-0080C728D9A0")]
public interface IVsAppCommandLine
[InterfaceTypeAttribute()]
[GuidAttribute(L"C7F21561-D58A-11D2-BF4A-0080C728D9A0")]
public interface class IVsAppCommandLine
[<InterfaceTypeAttribute()>]
[<GuidAttribute("C7F21561-D58A-11D2-BF4A-0080C728D9A0")>]
type IVsAppCommandLine =  interface end
public interface IVsAppCommandLine

The IVsAppCommandLine type exposes the following members.

Methods

  Name Description
Public method GetOption Retrieves the command line switches.

Top

Remarks

Notes to Implementers

Implemented by the Visual Studio environment.

Notes to Callers

Call IVsAppCommandLine each time your package is loaded.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace