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