TypeGeneratedEventArgs.AdditionalAttributes Свойство

Определение

List(CodeAttributeDeclaration) Возвращает содержащий атрибуты, которые будут добавлены в тип.

public:
 property System::Collections::Generic::List<System::CodeDom::CodeAttributeDeclaration ^> ^ AdditionalAttributes { System::Collections::Generic::List<System::CodeDom::CodeAttributeDeclaration ^> ^ get(); };
public System.Collections.Generic.List<System.CodeDom.CodeAttributeDeclaration> AdditionalAttributes { get; }
member this.AdditionalAttributes : System.Collections.Generic.List<System.CodeDom.CodeAttributeDeclaration>
Public ReadOnly Property AdditionalAttributes As List(Of CodeAttributeDeclaration)

Значение свойства

Коллекция, содержащая атрибуты, которые будут добавлены в тип. Коллекция пуста, если атрибуты не будут добавлены в тип.

Комментарии

Элементы добавляются после того, как OnTypeGenerated событие вызывается

Применяется к

См. также раздел