IDOMethod parameters

The IDOMethod attribute takes two optional parameters: flags and messageParm.

Flags

The flags parameter is used for one or more of the values defined by the MethodFlags enumeration. This table shows the MethodFlags values:

MethodFlags value Description
None Standard method call.
CustomLoad Custom load method.
RequiresTransaction Method runs in the context of a transaction.

MessageParm

The messageParm parameter must be a string. It is used for the name of the parameter that is used to return messages to the caller (Infobar). The parameter that is identified must be declared as a String type and passed by reference.

Remember that these attributes are not used at runtime. They might be used in the future to facilitate adding and synchronizing the IDO metadata for an extension class and its methods when an assembly is imported.