Skip to content

M_CodeJam_CodeExceptions_ArgumentNullOrWhiteSpace

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

CodeExceptions.ArgumentNullOrWhiteSpace Method

Creates ArgumentException for empty (or whitespace) string.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static ArgumentException ArgumentNullOrWhiteSpace(
	string argumentName
)

VB

Public Shared Function ArgumentNullOrWhiteSpace ( 
	argumentName As String
) As ArgumentException

F#

static member ArgumentNullOrWhiteSpace : 
        argumentName : string -> ArgumentException 

Parameters

 

argumentName
Type: System.String
Name of the argument.

Return Value

Type: ArgumentException
Initialized instance of ArgumentException.

See Also

Reference

CodeExceptions Class
CodeJam Namespace

Clone this wiki locally