共用方式為


ITextBufferFactoryService.PlaintextContentType Property

Predefined content type for plain text files.

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

Syntax

'宣告
ReadOnly Property PlaintextContentType As IContentType
IContentType PlaintextContentType { get; }
property IContentType^ PlaintextContentType {
    IContentType^ get ();
}
abstract PlaintextContentType : IContentType
function get PlaintextContentType () : IContentType

Property Value

Type: Microsoft.VisualStudio.Utilities.IContentType
The plain text IContentType.

Remarks

The plain text content type inherits from the text content type. It is a sibling of the code content type.

.NET Framework Security

See Also

Reference

ITextBufferFactoryService Interface

Microsoft.VisualStudio.Text Namespace