Issues a warning message.
Namespace: ImslAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static void Print(
Object source,
string bundleName,
string key,
Object[] arg
)
Public Shared Sub Print (
source As Object,
bundleName As String,
key As String,
arg As Object()
)
public:
static void Print(
Object^ source,
String^ bundleName,
String^ key,
array<Object^>^ arg
)
static member Print :
source : Object *
bundleName : string *
key : string *
arg : Object[] -> unit
Parameters
- source
- Type: SystemObject
The Object that is the source of the warning.
- bundleName
- Type: SystemString
A String which specifies the base name of the resource. The
actual name is formed by appending ".ErrorMessages".
- key
- Type: SystemString
A String which specifies the warning message in the resource.
- arg
- Type: SystemObject
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.
See Also