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.

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

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