IDirectiveProcessor.GetTemplateClassCustomAttributes Method
Gets any custom attributes to include on the template class.
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
Return Value
Type: CodeAttributeDeclarationCollection
A collection of custom attributes that can be null or empty.
Remarks
The default implementation is to produce no attributes.
.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.