IFindAllReferencesWindow.AddCommandTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add target
to the windows list of IOleCommandTarget.
public:
void AddCommandTarget(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ target, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ % next);
public void AddCommandTarget (Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget target, out Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget next);
abstract member AddCommandTarget : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget * IOleCommandTarget -> unit
Public Sub AddCommandTarget (target As IOleCommandTarget, ByRef next As IOleCommandTarget)
Parameters
- target
- IOleCommandTarget
Command target to add.
- next
- IOleCommandTarget
Next command target in the chain.
Remarks
target
must forward the command is doesn't handle to next
.
These command targets will automatically be removed when the FAR window is closed.