# Method attributes
An attribute is a modifier on a method declaration that controls the method's use and behavior. Adding an attribute to a method declaration is also known as decorating the method. For example, the IntegrationEvent attribute makes a method an event publisher. An attribute can have one or more arguments.
In AL, attributes are placed before the method, and they have the following syntax:
```al
[AttributeName(ArgumentValue1, ArgumentValue2)]
```
For example, the following method uses the IntegrationEvent attribute with both required arguments set to false:
```al
[IntegrationEvent(false, false)]
procedure OnSomethingChanged()
begin
end;
```
> TIP
> If you already know the name of, for example, a data type, method, property, or trigger, use the Filter by title field in the upper left corner, above the table of contents to find the topic faster. Otherwise, you can scan the table of contents to find it.
## Related information
AL method reference<../methods-auto/library>
devenv-integrationevent-attribute

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/attributes/devenv-method-attributes, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/attributes/devenv-method-attributes/
