TextDataModelContentTypeChangedEventArgs.BeforeContentType Property

Gets the IContentType of the ITextDataModel before the change.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Property BeforeContentType As IContentType
public IContentType BeforeContentType { get; private set; }
public:
property IContentType^ BeforeContentType {
    IContentType^ get ();
    private: void set (IContentType^ value);
}
member BeforeContentType : IContentType with get, private set
function get BeforeContentType () : IContentType
private function set BeforeContentType (value : IContentType)

Property Value

Type: Microsoft.VisualStudio.Utilities.IContentType
The IContentType of the ITextDataModel before the change.

.NET Framework Security

See Also

Reference

TextDataModelContentTypeChangedEventArgs Class

Microsoft.VisualStudio.Text Namespace