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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.