IReadOnlyRegionEdit.RemoveReadOnlyRegion(IReadOnlyRegion) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从此缓冲区的只读区域列表中移除只读区域。
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 是在另一个缓冲区上创建的。
注解
删除已删除的只读区域不会执行任何操作。