IVsTextStorage::Storage_Replace Method (array<ChangeInput>^, array<TextSpan>^)

 

Replace/change the text.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int Storage_Replace(
	array<ChangeInput>^ pCI,
	array<TextSpan>^ ptsOut
)

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::Int32

If 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
);
Return to top
Show: