ClassificationTypeAttribute Class

 

Provides the name for a logical classification type and the name of a classification type from which it is derived.

Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

System::Object
  System::Attribute
    Microsoft.VisualStudio.Utilities::MultipleBaseMetadataAttribute
      Microsoft.VisualStudio.Text.Classification::ClassificationTypeAttribute

public ref class ClassificationTypeAttribute sealed : MultipleBaseMetadataAttribute

NameDescription
System_CAPS_pubmethodClassificationTypeAttribute()

Initializes a new instance of ClassificationTypeAttribute.

NameDescription
System_CAPS_pubpropertyClassificationTypeNames

Gets or sets the name of this classification type.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This attribute is used to provide metadata for the ClassificationTypeDefinition export. The IClassificationTypeRegistryService uses this to construct IClassificationType objects. A IClassificationType can multiply inherit from different base types.

For more information about this attribute, see the "Extending Classification Types and Classification Formats" in Editor Extension Points.

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

Return to top
Show: