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 | |
|---|---|---|
| .gif) | CharacterLiteral | Gets a classification type representing character literals. | 
| .gif) | Comment | Gets a classification type representing comments in a formal language. | 
| .gif) | ExcludedCode | Gets a classification type representing blocks excluded by the preprocessor or other means in a formal language. | 
| .gif) | FormalLanguage | Gets a classification type representing a formal language. | 
| .gif) | Identifier | Gets a classification type representing identifiers in a formal language. | 
| .gif) | Keyword | Gets a classification type representing keywords in a formal language. | 
| .gif) | Literal | Gets a classification type representing literals in a formal language. | 
| .gif) | NaturalLanguage | Gets a classification type representing a natural language. | 
| .gif) | NumberLiteral | Gets a classification type representing numerical literals which derives from the literal classification type in a formal language. | 
| .gif) | Operator | Gets a classification type representing whitespace in a formal language. | 
| .gif) | Other | Gets a classification type representing anything in a formal language. | 
| .gif) | PreprocessorKeyword | Gets a classification type representing preprocessor keywords in a formal language. | 
| .gif) | StringLiteral | Gets a classification type representing string literals. | 
| .gif) | SymbolDefinition | Gets a classification type representing the definition of a symbol in a formal language. | 
| .gif) | SymbolReference | Gets a classification type representing the reference to a symbol in a formal language. | 
| .gif) | 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