GraphBufferContentTypeChangedEventArgs(ITextBuffer, IContentType, IContentType) Konstruktor

Definition

Initialisiert eine neue Instanz von GraphBufferContentTypeChangedEventArgs mit dem angegebenen Textpuffer und dem alten und neuen Inhaltstyp.

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)

Parameter

textBuffer
ITextBuffer

Der ITextBuffer, dessen IContentType geändert wurde.

beforeContentType
IContentType

Der IContentType vor der Änderung.

afterContentType
IContentType

Der IContentType nach der Änderung.

Ausnahmen

Einer von textBuffer , beforeContentType oder afterContentType ist NULL.

Gilt für