次の方法で共有


PredefinedClassificationTypeNames Class

Defines a list of predefined classification type names.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Language.StandardClassification.PredefinedClassificationTypeNames

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

Syntax

'宣言
Public NotInheritable Class PredefinedClassificationTypeNames
public static class PredefinedClassificationTypeNames
public ref class PredefinedClassificationTypeNames abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedClassificationTypeNames =  class end
public final class PredefinedClassificationTypeNames

The PredefinedClassificationTypeNames type exposes the following members.

Fields

  Name Description
Public fieldStatic member Character The name of the classification type representing characters.
Public fieldStatic member Comment The name of the classification type representing comments.
Public fieldStatic member ExcludedCode The name of the classification type representing items that are excluded via a preprocessor macro or other means.
Public fieldStatic member FormalLanguage The name of the classification type representing a formal language. This classification type is intended to be used as a base classification type for all classification types belonging to a set of formal language classifications, for example literals and keywords.
Public fieldStatic member Identifier The name of the classification type representing identifiers, for instance, variable names.
Public fieldStatic member Keyword The name of the classification type representing keywords. In C# for instance, foreach would be a keyword.
Public fieldStatic member Literal The name of the classification type representing literals.
Public fieldStatic member NaturalLanguage The name of the classification type representing a natural language classification. This classification type is intended to be used as a base classification type for other classification types belonging to a set of natural language classifications.
Public fieldStatic member Number The name of the classification type representing numbers.
Public fieldStatic member Operator The name of the classification type representing operators, for instance, + would be an operator.
Public fieldStatic member Other The name of the classification type representing all other types of classifications.
Public fieldStatic member PreprocessorKeyword The name of the classification type representing preprocessor keywords.
Public fieldStatic member String The name of the classification type representing strings.
Public fieldStatic member SymbolDefinition The name of the classification type representing definition of symbols.
Public fieldStatic member SymbolReference The name of the classification type representing symbol references.
Public fieldStatic member WhiteSpace The name of the classification type representing white space.

Top

Remarks

The classification type names defined here are used by the IStandardClassificationService to create the set of pre-existing classification types.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Language.StandardClassification Namespace