Freigeben über


DynamicReadOnlyRegionQuery Delegate

The callback for notifying read-only regions of edits.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
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 does not support delegates.

Parameters

  • isEdit
    Type: System.Boolean
    true if an edit is being attempted, false if the read-only check should be side-effect free.

Return Value

Type: System.Boolean
Whether the read-only region is in effect.

Remarks

This callback is used in QueryCallback and CreateDynamicReadOnlyRegion.

See Also

Reference

Microsoft.VisualStudio.Text Namespace