ITextBuffer.CreateReadOnlyRegionEdit Method

Creates an IReadOnlyRegionEdit object that handles adding or removing read-only regions from this buffer.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

IReadOnlyRegionEdit CreateReadOnlyRegionEdit()

ExceptionCondition
InvalidOperationException

Another ITextBufferEdit object is active for this text buffer.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft