The note /This method can be invoked using property access syntax/ appears on many pages in the Business Central for files found in the BC Dev Documentation.
What does it mean?
What is property access syntax?
What other ways can methods be invoked?
What are examples on methods that cannot be invoked using property access syntax?
When it is mentioned that a method can be invoked using property access syntax, it means that the method can be called or accessed using the syntax typically used for accessing properties. Instead of using traditional method invocation syntax with parentheses, you can use the dot notation to access the method as if it were a property.
For example, instead of calling a method like this:
Database.UserId();
You can also use property access syntax like this without parentheses:
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.