Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Function CreateReadOnlyRegionEdit As IReadOnlyRegionEdit
IReadOnlyRegionEdit CreateReadOnlyRegionEdit()
IReadOnlyRegionEdit^ CreateReadOnlyRegionEdit()
abstract CreateReadOnlyRegionEdit : unit -> IReadOnlyRegionEdit
function CreateReadOnlyRegionEdit() : IReadOnlyRegionEdit
Return Value
Type: Microsoft.VisualStudio.Text.IReadOnlyRegionEdit
A new IReadOnlyRegionEdit object.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Another ITextBufferEdit object is active for this text buffer. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.