次の方法で共有


ContentTypeChangedEventArgs Class

Definition

Provides information about a change to the IContentType on an ITextBuffer.

public ref class ContentTypeChangedEventArgs : Microsoft::VisualStudio::Text::TextSnapshotChangedEventArgs
public class ContentTypeChangedEventArgs : Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs
type ContentTypeChangedEventArgs = class
    inherit TextSnapshotChangedEventArgs
Public Class ContentTypeChangedEventArgs
Inherits TextSnapshotChangedEventArgs
Inheritance
ContentTypeChangedEventArgs

Constructors

ContentTypeChangedEventArgs(ITextSnapshot, ITextSnapshot, IContentType, IContentType, Object)

Initializes a new instance of ContentTypeChangedEventArgs with the specified before and after snapshots and before and after content types.

Properties

After

Gets the state of the ITextBuffer after the change.

(Inherited from TextSnapshotChangedEventArgs)
AfterContentType

The IContentType after the change occurred.

AfterVersion

Gets the ITextVersionn associated with After.

(Inherited from TextSnapshotChangedEventArgs)
Before

Gets the state of the ITextBuffer before the change occurred.

(Inherited from TextSnapshotChangedEventArgs)
BeforeContentType

The IContentType before the change occurred.

BeforeVersion

Gets the ITextVersion associated with Before.

(Inherited from TextSnapshotChangedEventArgs)
EditTag

Gets an arbitrary object provided by the initiator of the changes.

(Inherited from TextSnapshotChangedEventArgs)

Applies to