Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetTemplateClassCustomAttributes Method

IDirectiveProcessor.GetTemplateClassCustomAttributes Method

Visual Studio 2012

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)

CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()

Return Value

Type: CodeAttributeDeclarationCollection
A collection of custom attributes that can be null or empty.

The default implementation is to produce no attributes.

Show:
© 2015 Microsoft