Compartilhar via


Propriedade ITextBuffer.ContentType

Obtém o tipo de conteúdo do texto no buffer.

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 tipo de conteúdo do texto no buffer.

Segurança do .NET Framework

Consulte também

Referência

ITextBuffer Interface

Namespace Microsoft.VisualStudio.Text