ITextBuffer.CreateReadOnlyRegionEdit Method
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.
Creates an IReadOnlyRegionEdit object that handles adding or removing read-only regions from this buffer.
C++
public:
Microsoft::VisualStudio::Text::IReadOnlyRegionEdit ^ CreateReadOnlyRegionEdit();
public Microsoft.VisualStudio.Text.IReadOnlyRegionEdit CreateReadOnlyRegionEdit();
abstract member CreateReadOnlyRegionEdit : unit -> Microsoft.VisualStudio.Text.IReadOnlyRegionEdit
Public Function CreateReadOnlyRegionEdit () As IReadOnlyRegionEdit
A new IReadOnlyRegionEdit object.
Another ITextBufferEdit object is active for this text buffer, or CheckEditAccess() would return false.
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |