通知的只读区域回调编辑。
命名空间: Microsoft.VisualStudio.Text
程序集: Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)
语法
声明
Public Delegate Function DynamicReadOnlyRegionQuery ( _
isEdit As Boolean _
) As Boolean
public delegate bool DynamicReadOnlyRegionQuery(
bool isEdit
)
public delegate bool DynamicReadOnlyRegionQuery(
bool isEdit
)
type DynamicReadOnlyRegionQuery =
delegate of
isEdit:bool -> bool
JScript 不支持委托。
参数
isEdit
类型:Booleantrue ,如果正在尝试编辑, false ,如果只读检查不得有副作用。
返回值
类型:Boolean
只读区域是否有效。
备注
此回调用于 QueryCallback 和 CreateDynamicReadOnlyRegion。