Udostępnij za pośrednictwem


Metoda IDirectiveProcessor.GetTemplateClassCustomAttributes —

Pobiera dowolne atrybuty niestandardowe, aby dołączyć szablon klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.TextTemplating
Zestaw:  Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (w Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)

Składnia

'Deklaracja
Function GetTemplateClassCustomAttributes As CodeAttributeDeclarationCollection
CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()
CodeAttributeDeclarationCollection^ GetTemplateClassCustomAttributes()
abstract GetTemplateClassCustomAttributes : unit -> CodeAttributeDeclarationCollection 
function GetTemplateClassCustomAttributes() : CodeAttributeDeclarationCollection

Wartość zwracana

Typ: System.CodeDom.CodeAttributeDeclarationCollection
Kolekcja atrybutów niestandardowych, które może być zerowa lub pusta.

Uwagi

Domyślna implementacja jest uzyskanie żadnych atrybutów.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IDirectiveProcessor Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TextTemplating