VsTextLineStorageClass.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:
virtual int Storage_Replace(cli::array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> ^ pCI, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsOut) = Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage::Storage_Replace;
public:
virtual int Storage_Replace(cli::array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> ^ pCI, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsOut);
virtual int Storage_Replace(std::Array <Microsoft::VisualStudio::TextManager::Interop::ChangeInput> const & pCI, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ptsOut);
public virtual 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
override this.Storage_Replace : Microsoft.VisualStudio.TextManager.Interop.ChangeInput[] * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Overridable 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.