Platform Core .NET Assemblies API
CheckArgumentNullOrWhiteSpace Method
See Also  Send Feedback
Terrasoft.Common Namespace > ValidateUtilities Class : CheckArgumentNullOrWhiteSpace Method
source
String.
argumentName
Name of the argument that causes exception.

Glossary Item Box

Validates whether a specified string is null, empty, or consists only of white-space characters. If condition is true, exception will be thrown.

Syntax

 
C#
 
 

Parameters

source
String.
argumentName
Name of the argument that causes exception.

Exceptions

ExceptionDescription
ArgumentNullOrEmptyExceptionIf string source is null, empty, or consists only of white-space characters.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.