Adds the specified warning.

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

Syntax

C#
public void AddWarning(
	int number,
	string text,
	WarningLevel level,
	bool isSingletonWarning
)
Visual Basic
Public Sub AddWarning ( _
	number As Integer, _
	text As String, _
	level As WarningLevel, _
	isSingletonWarning As Boolean _
)
Visual C++
public:
void AddWarning(
	int number, 
	String^ text, 
	WarningLevel level, 
	bool isSingletonWarning
)

Parameters

number
Type: System..::..Int32
The number.
text
Type: System..::..String
The text.
level
Type: FirstFloor.Documents..::..WarningLevel
The level.
isSingletonWarning
Type: System..::..Boolean
if set to true [is singleton warning].

See Also