ITextSnapshot.ContentType Property
Gets the IContentType of the TextBuffer when this snapshot was current.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
ReadOnly Property ContentType As IContentType
IContentType ContentType { get; }
property IContentType^ ContentType {
IContentType^ get ();
}
abstract ContentType : IContentType
function get ContentType () : IContentType
Property Value
Type: Microsoft.VisualStudio.Utilities.IContentType
The IContentType.
.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.