ValidationResultsCollectionAddWarning Method

Adds a warning to this ValidationResultsCollection.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public void AddWarning(
	string propertyName,
	string message
)

Parameters

propertyName  String
Name of the property.
message  String
The warning message.

Exceptions

NotSupportedExceptionThis ValidationResultsCollection instance is read-only and cannot be modified.

See Also