IVsTextReplaceEvents.OnReplace(ChangeInput[]) 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.
Called at start of a text replace operation.
public:
int OnReplace(cli::array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> ^ pCI);
int OnReplace(std::Array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> const & pCI);
public int OnReplace (Microsoft.VisualStudio.TextManager.Interop.ChangeInput[] pCI);
abstract member OnReplace : Microsoft.VisualStudio.TextManager.Interop.ChangeInput[] -> int
Public Function OnReplace (pCI As ChangeInput()) As Integer
Parameters
- pCI
- ChangeInput[]
[in] Information about the change request.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
[C++]
HRESULT IVsTextReplaceEvents::OnReplace(
[in] const ChangeInput* pCI
);
Note
Use of this interface is discouraged. Do not use in new code.