GraphBufferContentTypeChangedEventArgs Constructor (ITextBuffer^, IContentType^, IContentType^)

 

Initializes a new instance of GraphBufferContentTypeChangedEventArgs with the specified text buffer and the old and new content types.

Namespace:   Microsoft.VisualStudio.Text.Projection
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.

Return to top
Show: