IReadOnlyRegionEdit.RemoveReadOnlyRegion(IReadOnlyRegion) 方法

定义

从此缓冲区的只读区域列表中移除只读区域。

public:
 void RemoveReadOnlyRegion(Microsoft::VisualStudio::Text::IReadOnlyRegion ^ readOnlyRegion);
public:
 void RemoveReadOnlyRegion(Microsoft::VisualStudio::Text::IReadOnlyRegion ^ readOnlyRegion);
void RemoveReadOnlyRegion(Microsoft::VisualStudio::Text::IReadOnlyRegion const & readOnlyRegion);
public void RemoveReadOnlyRegion (Microsoft.VisualStudio.Text.IReadOnlyRegion readOnlyRegion);
abstract member RemoveReadOnlyRegion : Microsoft.VisualStudio.Text.IReadOnlyRegion -> unit
Public Sub RemoveReadOnlyRegion (readOnlyRegion As IReadOnlyRegion)

参数

readOnlyRegion
IReadOnlyRegion

要移除的只读区域。

例外

readOnlyRegion 为 null。

readOnlyRegion 是在另一个缓冲区上创建的。

注解

删除已删除的只读区域不会执行任何操作。

适用于