Condividi tramite


IReadOnlyRegionEdit.CreateReadOnlyRegion Method

Include Protected Members
Include Inherited Members

Marks a span of text in this buffer as read-only.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CreateReadOnlyRegion(Span) Marks a span of text in this buffer as read-only. The span remains read-only until the IReadOnlyRegion is removed.
Public method CreateReadOnlyRegion(Span, SpanTrackingMode, EdgeInsertionMode) Marks a span of text in this buffer as read-only. The span remains read-only until it is marked as writable or forced writable again.

Top

See Also

Reference

IReadOnlyRegionEdit Interface

Microsoft.VisualStudio.Text Namespace