In This Article

SyntaxLanguageChangedEventArgs Class

Event arguments for the ICodeDocument.LanguageChanged event.

public class SyntaxLanguageChangedEventArgs : EventArgs
Inheritance:
object EventArgs object

Constructors

SyntaxLanguageChangedEventArgs(ISyntaxLanguage, ISyntaxLanguage)

Initializes a new instance of the SyntaxLanguageChangedEventArgs class.

public SyntaxLanguageChangedEventArgs(ISyntaxLanguage oldLanguage, ISyntaxLanguage newLanguage)
Parameter Type Description
oldLanguage ISyntaxLanguage

The ISyntaxLanguage that was in use before the change.

newLanguage ISyntaxLanguage

The ISyntaxLanguage that is in use after the change.

Properties

NewLanguage

Gets the ISyntaxLanguage is in use after the change.

public ISyntaxLanguage NewLanguage { get; }

Property Value

ISyntaxLanguage:

The ISyntaxLanguage is in use after the change.

OldLanguage

Gets the ISyntaxLanguage that was in use before the change.

public ISyntaxLanguage OldLanguage { get; }

Property Value

ISyntaxLanguage:

The ISyntaxLanguage that was in use before the change.

Inherited Members