IVsTextStorage.Storage_Replace(ChangeInput[], TextSpan[]) 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.
Replace/change the text.
public:
int Storage_Replace(cli::array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> ^ pCI, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsOut);
int Storage_Replace(std::Array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> const & pCI, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ptsOut);
public int Storage_Replace (Microsoft.VisualStudio.TextManager.Interop.ChangeInput[] pCI, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ptsOut);
abstract member Storage_Replace : Microsoft.VisualStudio.TextManager.Interop.ChangeInput[] * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function Storage_Replace (pCI As ChangeInput(), ptsOut As TextSpan()) As Integer
Parameters
- pCI
- ChangeInput[]
[in] Information about the change/replace request.
- ptsOut
- TextSpan[]
[out] The changed text span.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStorage::Storage_Replace(
[in] ChangeInput *pCI,
[out] TextSpan *ptsOut
);