AddMessage(Region,Int32,String,String,Boolean,String) Method
In This Topic
Adds a new message associated with part number to the project's message management window.
Syntax
Parameters
- eRegion
- A message of this IMessage.Region is added.
- nErrNr
- A message with this message number is added.
- strErrTextParam
- reference to a parameterstring to substitute placeholders in the resource error text. Multiple parameters must be separated with "|". In the error text parameters should be signed by "%1!s!", "%2!s!" etc. If the error text doesn't have any parameter to substitute strErrTextParam must be an empty string
- strPartNumber
- The message refers to this part number in variant '1'. Cannot be empty or null.
- bImmediateShow
- True\: The message is immediately displayed in the message window.
- strAdditionalInfo
- Additional language\-independent message text. Is saved as specified in the database. Optional parameter; this string may also be empty.
Exceptions
See Also