Partager via


IVsParseCommandLine Interface

Parses command line arguments for implementers of IOleCommandTarget. You can get an instance of the interface from the SVsParseCommandLine (SID_SVsParseCommandLine) service.

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

Syntax

'Déclaration
<GuidAttribute("366704D5-85D0-4F7D-B267-90FA4DD37D5B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsParseCommandLine
'Utilisation
Dim instance As IVsParseCommandLine
[GuidAttribute("366704D5-85D0-4F7D-B267-90FA4DD37D5B")]
[InterfaceTypeAttribute()]
public interface IVsParseCommandLine
[GuidAttribute(L"366704D5-85D0-4F7D-B267-90FA4DD37D5B")]
[InterfaceTypeAttribute()]
public interface class IVsParseCommandLine
public interface IVsParseCommandLine

Remarks

Use the ParseCommandLine method to parse the command line. You can then use the other interface methods to retrieve switches, values, and parameters.

For more information about IOleCommandTarget see TN071: MFC IOleCommandTarget Implementation.

COM Signature

From vsshell.idl:

See Also

Reference

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace