IVsTextStorage::Storage_Replace Method (array<ChangeInput>^, array<TextSpan>^)
Visual Studio 2015
Replace/change the text.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pCI
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::ChangeInput>^
[in] Information about the change/replace request.
- ptsOut
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[out] The changed text span.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextStorage::Storage_Replace(
[in] ChangeInput *pCI,
[out] TextSpan *ptsOut
);
Show: