共用方式為


ITextBuffer.ContentType Property

Definition

Gets the content type of the text in the buffer.

public:
 property Microsoft::VisualStudio::Utilities::IContentType ^ ContentType { Microsoft::VisualStudio::Utilities::IContentType ^ get(); };
public:
 property Microsoft::VisualStudio::Utilities::IContentType ^ ContentType { Microsoft::VisualStudio::Utilities::IContentType ^ get(); };
public Microsoft.VisualStudio.Utilities.IContentType ContentType { get; }
member this.ContentType : Microsoft.VisualStudio.Utilities.IContentType
Public ReadOnly Property ContentType As IContentType

Property Value

The content type of the text in the buffer.

Applies to