Compartir a través de


ClassificationTag(IClassificationType) Constructor

Definition

Create a new tag associated with the given type of classification.

public:
 ClassificationTag(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ type);
public:
 ClassificationTag(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ type);
 ClassificationTag(Microsoft::VisualStudio::Text::Classification::IClassificationType const & type);
public ClassificationTag (Microsoft.VisualStudio.Text.Classification.IClassificationType type);
new Microsoft.VisualStudio.Text.Tagging.ClassificationTag : Microsoft.VisualStudio.Text.Classification.IClassificationType -> Microsoft.VisualStudio.Text.Tagging.ClassificationTag
Public Sub New (type As IClassificationType)

Parameters

type
IClassificationType

The type of classification

Exceptions

If the type is passed in as null

Remarks

ILayeredClassificationType can be used instead of IClassificationType to enable one component's classifications to categorically supersede another's classifications.

Applies to