LanguagePriority Class
Represents the built-in priorities for language classifications.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Language.StandardClassification.LanguagePriority
Namespace: Microsoft.VisualStudio.Language.StandardClassification
Assembly: Microsoft.VisualStudio.Language.StandardClassification (in Microsoft.VisualStudio.Language.StandardClassification.dll)
Syntax
'宣言
Public NotInheritable Class LanguagePriority
public static class LanguagePriority
public ref class LanguagePriority abstract sealed
[<AbstractClass>]
[<Sealed>]
type LanguagePriority = class end
public final class LanguagePriority
The LanguagePriority type exposes the following members.
Fields
Name | Description | |
---|---|---|
FormalLanguage | Priority for the formal language classification definitions. | |
NaturalLanguage | Priority for the natural language classification definitions. |
Top
Remarks
The default classification types and format definitions provided by the IStandardClassificationService define natural language and formal language classification types. These are the classification types upon which other classification types are based.
Formal language classifications have a higher priority than natural language classification types, and by definition all derivatives of formal language classifications have a higher priority than derivatives of the natural language classification types.
Both the formal and natural language classification types fall between the Default and High generic priorities.
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