Determines whether the specified warning should be emitted.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool EmitWarning(
	int number,
	string text,
	WarningLevel level,
	string source,
	LoadSettings settings
)
Visual Basic
Public Shared Function EmitWarning ( _
	number As Integer, _
	text As String, _
	level As WarningLevel, _
	source As String, _
	settings As LoadSettings _
) As Boolean
Visual C++
public:
static bool EmitWarning(
	int number, 
	String^ text, 
	WarningLevel level, 
	String^ source, 
	LoadSettings^ settings
)

Parameters

number
Type: System..::..Int32
The number.
text
Type: System..::..String
The text.
level
Type: FirstFloor.Documents..::..WarningLevel
The level.
source
Type: System..::..String
The source.
settings
Type: FirstFloor.Documents.IO..::..LoadSettings
The settings.

Return Value

A value indicating whether the warning should be emitted.

See Also