Construtor TagTypeAttribute
Inicializa uma nova instância de um TagTypeAttribute.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (em Microsoft.VisualStudio.Text.Logic.dll)
Sintaxe
'Declaração
Public Sub New ( _
tagType As Type _
)
public TagTypeAttribute(
Type tagType
)
public:
TagTypeAttribute(
Type^ tagType
)
new :
tagType:Type -> TagTypeAttribute
public function TagTypeAttribute(
tagType : Type
)
Parâmetros
tagType
Tipo: TypeO tipo de marca, que deve derivar de ITag.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | tagType é nulluma referência nula (Nothing no Visual Basic). |
ArgumentException | tagTypenão é derivada de ITag. |
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.