GraphBufferContentTypeChangedEventArgs(ITextBuffer, IContentType, IContentType) Construtor

Definição

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

public:
 GraphBufferContentTypeChangedEventArgs(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer, Microsoft::VisualStudio::Utilities::IContentType ^ beforeContentType, Microsoft::VisualStudio::Utilities::IContentType ^ afterContentType);
public:
 GraphBufferContentTypeChangedEventArgs(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer, Microsoft::VisualStudio::Utilities::IContentType ^ beforeContentType, Microsoft::VisualStudio::Utilities::IContentType ^ afterContentType);
 GraphBufferContentTypeChangedEventArgs(Microsoft::VisualStudio::Text::ITextBuffer const & textBuffer, Microsoft::VisualStudio::Utilities::IContentType const & beforeContentType, Microsoft::VisualStudio::Utilities::IContentType const & afterContentType);
public GraphBufferContentTypeChangedEventArgs (Microsoft.VisualStudio.Text.ITextBuffer textBuffer, Microsoft.VisualStudio.Utilities.IContentType beforeContentType, Microsoft.VisualStudio.Utilities.IContentType afterContentType);
new Microsoft.VisualStudio.Text.Projection.GraphBufferContentTypeChangedEventArgs : Microsoft.VisualStudio.Text.ITextBuffer * Microsoft.VisualStudio.Utilities.IContentType * Microsoft.VisualStudio.Utilities.IContentType -> Microsoft.VisualStudio.Text.Projection.GraphBufferContentTypeChangedEventArgs
Public Sub New (textBuffer As ITextBuffer, beforeContentType As IContentType, afterContentType As IContentType)

Parâmetros

textBuffer
ITextBuffer

O ITextBuffer cujo IContentType foi alterado.

beforeContentType
IContentType

O IContentType antes da alteração.

afterContentType
IContentType

O IContentType após a alteração.

Exceções

Um de textBuffer , beforeContentType ou afterContentType é nulo.

Aplica-se a