ClassificationTag(IClassificationType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.