Platform Core .NET Assemblies API
CheckArgumentNullOrEmpty(String,String) Method
See Also  Send Feedback
Terrasoft.Common Namespace > ValidateUtilities Class > CheckArgumentNullOrEmpty Method : CheckArgumentNullOrEmpty(String,String) Method
source
String.
argumentName
Name of the argument that caused exception.

Glossary Item Box

Checks if the specified string is empty or null. If the condition is met, exception is thrown.

Syntax

 
C#
 
 

Parameters

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

Exceptions

ExceptionDescription
ArgumentNullOrEmptyExceptionIf the source string is empty or null.

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.