Compartilhar via


Construtor GraphBufferContentTypeChangedEventArgs

Inicializa uma nova instância de GraphBufferContentTypeChangedEventArgs com o buffer de texto especificado e os tipos de conteúdo antigos e novos.

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

Sintaxe

'Declaração
Public Sub New ( _
    textBuffer As ITextBuffer, _
    beforeContentType As IContentType, _
    afterContentType As IContentType _
)
public GraphBufferContentTypeChangedEventArgs(
    ITextBuffer textBuffer,
    IContentType beforeContentType,
    IContentType afterContentType
)
public:
GraphBufferContentTypeChangedEventArgs(
    ITextBuffer^ textBuffer, 
    IContentType^ beforeContentType, 
    IContentType^ afterContentType
)
new : 
        textBuffer:ITextBuffer * 
        beforeContentType:IContentType * 
        afterContentType:IContentType -> GraphBufferContentTypeChangedEventArgs
public function GraphBufferContentTypeChangedEventArgs(
    textBuffer : ITextBuffer, 
    beforeContentType : IContentType, 
    afterContentType : IContentType
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

One of textBuffer, beforeContentType, or afterContentType is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

GraphBufferContentTypeChangedEventArgs Classe

Namespace Microsoft.VisualStudio.Text.Projection