C# Class VSTextMacros.MacroCommandFilter

Inheritance: IOleCommandTarget
Afficher le fichier Open project: xps/VSTextMacros Class Usage Examples

Private Properties

Свойство Type Description
GetTypedChar char
Playback void
SetText void
ShowSaveMacroDialog void

Méthodes publiques

Méthode Description
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
MacroCommandFilter ( VSTextMacros.MacroAdornmentManager adornmentManager ) : System
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Private Methods

Méthode Description
GetTypedChar ( IntPtr pvaIn ) : char
Playback ( Macro macro, int times = 1 ) : void
SetText ( IntPtr pCmdText, string text ) : void
ShowSaveMacroDialog ( Macro macro, string name = null ) : void

Method Details

Exec() public méthode

public Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
pguidCmdGroup System.Guid
nCmdID uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
Résultat int

MacroCommandFilter() public méthode

public MacroCommandFilter ( VSTextMacros.MacroAdornmentManager adornmentManager ) : System
adornmentManager VSTextMacros.MacroAdornmentManager
Résultat System

QueryStatus() public méthode

public QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid
cCmds uint
prgCmds OLECMD
pCmdText System.IntPtr
Résultat int