Поделиться через


IDirectiveProcessor.GetTemplateClassCustomAttributes - метод

Возвращает все настраиваемые атрибуты включить в классе шаблона.

Пространство имен:  Microsoft.VisualStudio.TextTemplating
Сборка:  Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (в Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)

Синтаксис

'Декларация
Function GetTemplateClassCustomAttributes As CodeAttributeDeclarationCollection
CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()
CodeAttributeDeclarationCollection^ GetTemplateClassCustomAttributes()
abstract GetTemplateClassCustomAttributes : unit -> CodeAttributeDeclarationCollection 
function GetTemplateClassCustomAttributes() : CodeAttributeDeclarationCollection

Возвращаемое значение

Тип: System.CodeDom.CodeAttributeDeclarationCollection
Коллекция настраиваемых атрибутов, которые могут иметь значение NULL или быть пустыми.

Заметки

Реализация по умолчанию не создавать атрибуты.

Безопасность платформы .NET Framework

См. также

Ссылки

IDirectiveProcessor Интерфейс

Microsoft.VisualStudio.TextTemplating - пространство имен