Share

MessageSection.AdoptMessages Method

Parent Object: MessageSection

Description

Method that adopts all messages within this section under the specified message and terminates the section.

Syntax

MessageSection.AdoptMessages( Message As String, Error As Boolean, [Reserved] As Variant )

Parameters

Name Type Description
Message String Input String that specifies the error or warning message to be used as the parent of existing messages.
Error Boolean Input Boolean that specifies whether this is an error or a warning. True indicates error.
Reserved Variant Optional input Variant reserved for future use. Currently unused.

This is an optional argument whose default value is null.

Samples

Name Description
Using Inventor's error dialog Demonstrates using Inventor's error dialog.
Display custom error messages Demonstrates displaying custom error messages.

Version

Introduced in version 2010

Was this information helpful?