C# Класс Microsoft.VisualStudio.R.Package.Interop.CommandTargetToOleShim

Implements OLE command target over ICommandTarget allowing managed components to participate in OLE/COM environment like Visual Studio. While a command is executing, the current variant arguments are cached.
Наследование: IOleCommandTarget, ICommandTarget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommandTargetToOleShim ( ITextView textView, ICommandTarget commandTarget ) : System
Exec ( System.Guid &guidCommandGroup, uint commandID, uint commandExecOpt, IntPtr variantIn, IntPtr variantOut ) : int
Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
Invoke ( ICommandTarget commandTarget, System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
PostProcessInvoke ( Microsoft.R.Components.Controller.CommandResult result, System.Guid group, int id, object inputArg, object &outputArg ) : void
QueryStatus ( System.Guid &guidCommandGroup, uint commandCount, OLECMD commandArray, IntPtr commandText ) : int
Status ( System.Guid group, int id ) : CommandStatus

Приватные методы

Метод Описание
GetShortPositionFromInputArg ( IntPtr location ) : POINTS[]
TranslateInputArg ( System.Guid &guidCommandGroup, uint commandID, IntPtr variantIn ) : object

Описание методов

CommandTargetToOleShim() публичный Метод

public CommandTargetToOleShim ( ITextView textView, ICommandTarget commandTarget ) : System
textView ITextView
commandTarget ICommandTarget
Результат System

Exec() публичный Метод

public Exec ( System.Guid &guidCommandGroup, uint commandID, uint commandExecOpt, IntPtr variantIn, IntPtr variantOut ) : int
guidCommandGroup System.Guid
commandID uint
commandExecOpt uint
variantIn System.IntPtr
variantOut System.IntPtr
Результат int

Invoke() публичный Метод

public Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
Результат Microsoft.R.Components.Controller.CommandResult

Invoke() публичный Метод

public Invoke ( ICommandTarget commandTarget, System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
commandTarget ICommandTarget
group System.Guid
id int
inputArg object
outputArg object
Результат Microsoft.R.Components.Controller.CommandResult

PostProcessInvoke() публичный Метод

public PostProcessInvoke ( Microsoft.R.Components.Controller.CommandResult result, System.Guid group, int id, object inputArg, object &outputArg ) : void
result Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
Результат void

QueryStatus() публичный Метод

public QueryStatus ( System.Guid &guidCommandGroup, uint commandCount, OLECMD commandArray, IntPtr commandText ) : int
guidCommandGroup System.Guid
commandCount uint
commandArray OLECMD
commandText System.IntPtr
Результат int

Status() публичный Метод

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
Результат CommandStatus