다음을 통해 공유


VsTextLineStorageClass.Storage_Replace(ChangeInput[], TextSpan[]) Method

Definition

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.

Implements

Applies to