共用方式為


IStandardClassificationService Interface

Provides access to standard classification types.

Namespace:  Microsoft.VisualStudio.Language.StandardClassification
Assembly:  Microsoft.VisualStudio.Language.StandardClassification (in Microsoft.VisualStudio.Language.StandardClassification.dll)

Syntax

'宣告
Public Interface IStandardClassificationService
public interface IStandardClassificationService
public interface class IStandardClassificationService
type IStandardClassificationService =  interface end
public interface IStandardClassificationService

The IStandardClassificationService type exposes the following members.

Properties

  Name Description
Public property CharacterLiteral Gets a classification type representing character literals.
Public property Comment Gets a classification type representing comments in a formal language.
Public property ExcludedCode Gets a classification type representing blocks excluded by the preprocessor or other means in a formal language.
Public property FormalLanguage Gets a classification type representing a formal language.
Public property Identifier Gets a classification type representing identifiers in a formal language.
Public property Keyword Gets a classification type representing keywords in a formal language.
Public property Literal Gets a classification type representing literals in a formal language.
Public property NaturalLanguage Gets a classification type representing a natural language.
Public property NumberLiteral Gets a classification type representing numerical literals which derives from the literal classification type in a formal language.
Public property Operator Gets a classification type representing whitespace in a formal language.
Public property Other Gets a classification type representing anything in a formal language.
Public property PreprocessorKeyword Gets a classification type representing preprocessor keywords in a formal language.
Public property StringLiteral Gets a classification type representing string literals.
Public property SymbolDefinition Gets a classification type representing the definition of a symbol in a formal language.
Public property SymbolReference Gets a classification type representing the reference to a symbol in a formal language.
Public property WhiteSpace Gets a classification type representing whitespace in a formal language.

Top

Remarks

This is a MEF Component, and should be exported with the following attribute:

[Export(typeof(IStandardClassificationService))]

For more information about this service and classification in general, see the "Extending Classification Types and Classification Formats" section in Editor Extension Points.

See Also

Reference

Microsoft.VisualStudio.Language.StandardClassification Namespace