DirectiveProcessor.GetTemplateClassCustomAttributes Method

Get any custom attributes to put on the template class.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)

Syntax

'Declaration
Public Overridable Function GetTemplateClassCustomAttributes As CodeAttributeDeclarationCollection
public virtual CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()
public:
virtual CodeAttributeDeclarationCollection^ GetTemplateClassCustomAttributes()
abstract GetTemplateClassCustomAttributes : unit -> CodeAttributeDeclarationCollection  
override GetTemplateClassCustomAttributes : unit -> CodeAttributeDeclarationCollection
public function GetTemplateClassCustomAttributes() : CodeAttributeDeclarationCollection

Return Value

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

Implements

IDirectiveProcessor.GetTemplateClassCustomAttributes()

Remarks

The default implementation is to produce no attributes.

.NET Framework Security

See Also

Reference

DirectiveProcessor Class

Microsoft.VisualStudio.TextTemplating Namespace