Partilhar via


Propriedade ITextSnapshot.ContentType

Obtém o IContentType da TextBuffer quando esse instantâneo foi atual.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (em Microsoft.VisualStudio.Text.Data.dll)

Sintaxe

'Declaração
ReadOnly Property ContentType As IContentType
IContentType ContentType { get; }
property IContentType^ ContentType {
    IContentType^ get ();
}
abstract ContentType : IContentType with get
function get ContentType () : IContentType

Valor de propriedade

Tipo: Microsoft.VisualStudio.Utilities.IContentType
O IContentType.

Segurança do .NET Framework

Consulte também

Referência

ITextSnapshot Interface

Namespace Microsoft.VisualStudio.Text