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
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
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