Condividi tramite


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

'Dichiarazione
ReadOnly Property ContentType As IContentType
    Get
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

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace