Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("366704D5-85D0-4F7D-B267-90FA4DD37D5B")] 
public interface IVsParseCommandLine
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("366704D5-85D0-4F7D-B267-90FA4DD37D5B") */ 
public interface IVsParseCommandLine
InterfaceTypeAttribute(1) 
GuidAttribute("366704D5-85D0-4F7D-B267-90FA4DD37D5B") 
public interface IVsParseCommandLine

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:

Community Additions

ADD
Show:
© 2015 Microsoft