ITextBuffer.ContentType Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.