IDirectiveProcessor.GetTemplateClassCustomAttributes-Methode
Ruft alle benutzerdefinierten Attribute ab, um auf der Vorlagenklasse einzuschließen.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)
Syntax
'Declaration
Function GetTemplateClassCustomAttributes As CodeAttributeDeclarationCollection
CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()
CodeAttributeDeclarationCollection^ GetTemplateClassCustomAttributes()
abstract GetTemplateClassCustomAttributes : unit -> CodeAttributeDeclarationCollection
function GetTemplateClassCustomAttributes() : CodeAttributeDeclarationCollection
Rückgabewert
Typ: System.CodeDom.CodeAttributeDeclarationCollection
Eine Sammlung benutzerdefinierter Attribute, die NULL oder leer sein können.
Hinweise
Die Standardimplementierung ist, keine Attribute zu erzeugen.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.