GraphBufferContentTypeChangedEventArgs Constructor (ITextBuffer^, IContentType^, IContentType^)
Visual Studio 2015
Initializes a new instance of GraphBufferContentTypeChangedEventArgs with the specified text buffer and the old and new content types.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
public:
GraphBufferContentTypeChangedEventArgs(
ITextBuffer^ textBuffer,
IContentType^ beforeContentType,
IContentType^ afterContentType
)
Parameters
- textBuffer
-
Type:
Microsoft.VisualStudio.Text::ITextBuffer^
The ITextBuffer whose IContentType has changed.
- beforeContentType
-
Type:
Microsoft.VisualStudio.Utilities::IContentType^
The IContentType before the change.
- afterContentType
-
Type:
Microsoft.VisualStudio.Utilities::IContentType^
The IContentType after the change.
| Exception | Condition |
|---|---|
| ArgumentNullException | One of textBuffer, beforeContentType, or afterContentType is null. |
Show: