次の方法で共有


IVsTextReplaceEvents.OnReplace(ChangeInput[]) Method

Definition

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.

Applies to