Share via


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

See Also

Reference

IDirectiveProcessor Interface

Microsoft.VisualStudio.TextTemplating Namespace