Partilhar via


Delegado DynamicReadOnlyRegionQuery

O retorno de chamada para notificar somente leitura regiões de edições.

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

Sintaxe

'Declaração
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 não oferece suporte a delegados.

Parâmetros

  • isEdit
    Tipo: Boolean

    trueSe a tentativa de uma edição, false se a seleção de somente leitura deve ser um efeito colateral gratuitamente.

Valor de retorno

Tipo: Boolean
Se a região de somente leitura está em vigor.

Comentários

Esse retorno de chamada é usado em QueryCallback e CreateDynamicReadOnlyRegion.

Consulte também

Referência

Namespace Microsoft.VisualStudio.Text