Udostępnij za pośrednictwem


ClassificationTypeAttribute Class

Definition

Used to declare the name for a logical classification type and the name of a classification type from which it is derived.

public ref class ClassificationTypeAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public ref class ClassificationTypeAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public sealed class ClassificationTypeAttribute : Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
type ClassificationTypeAttribute = class
    inherit MultipleBaseMetadataAttribute
Public NotInheritable Class ClassificationTypeAttribute
Inherits MultipleBaseMetadataAttribute
Inheritance
ClassificationTypeAttribute

Remarks

This attribute is used to provide metadata for the ClassificationTypeDefinition MEF export. The IClassificationTypeRegistryService service uses this to construct IClassificationType objects.

This attribute can be stacked, so that a IClassificationType can multiply inherit from different base types.

Constructors

ClassificationTypeAttribute()

Initializes a new instance of ClassificationTypeAttribute.

Properties

ClassificationTypeNames

Gets or sets the name of this classification type.

Applies to

See also