Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new tag associated with the given type of classification.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Sub New ( _
type As IClassificationType _
)
public ClassificationTag(
IClassificationType type
)
public:
ClassificationTag(
IClassificationType^ type
)
new :
type:IClassificationType -> ClassificationTag
public function ClassificationTag(
type : IClassificationType
)
Parameters
type
Type: Microsoft.VisualStudio.Text.Classification.IClassificationTypeThe type of classification.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | type is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.