WarningObjectPrint Method |
Issue a warning message.
Namespace: ImslAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void Print(
Object source,
string baseName,
string key,
Object[] arg
)
Public Overridable Sub Print (
source As Object,
baseName As String,
key As String,
arg As Object()
)
public:
virtual void Print(
Object^ source,
String^ baseName,
String^ key,
array<Object^>^ arg
)
abstract Print :
source : Object *
baseName : string *
key : string *
arg : Object[] -> unit
override Print :
source : Object *
baseName : string *
key : string *
arg : Object[] -> unit
Parameters
- source
- Type: SystemObject
The Object that is the source of the warning.
- baseName
- 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 string format items in a resource.
This method retrieves the format from the resource, formats the
message with the supplied arguments, and prints the message to the
warning stream.
See Also