Issues a warning message.
Namespace:
Imsl
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static void Print( Object source, string bundleName, string key, Object[] arg ) |
Visual Basic (Declaration) |
---|
Public Shared Sub Print ( _ source As Object, _ bundleName As String, _ key As String, _ arg As Object() _ ) |
Visual C++ |
---|
public: static void Print( Object^ source, String^ bundleName, String^ key, array<Object^>^ arg ) |
Parameters
- source
- Type: System..::.Object
The Object that is the source of the warning.
- bundleName
- Type: System..::.String
A String which specifies the base name of the resource. The actual name is formed by appending ".ErrorMessages".
- key
- Type: System..::.String
A String which specifies the warning message in the resource.
- arg
- Type: array<
System..::.Object
>[]()[]
A Object which specifies arguments used to format the message.
Remarks
Warning messages are stored as MessageFormat patterns in a
ResourceBundle. This method retrieves the pattern from the bundle,
formats the message with the supplied arguments, and prints the
message to the warning stream.