ArgumentNullOrEmpty Method

Project Mercury API

[This is preliminary documentation and is subject to change.]

Performs a check against a string argument, and throws an ArgumentNullException if it is null or empty.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static void ArgumentNullOrEmpty(
	string parameter,
	string argument
)
Visual Basic (Declaration)
Public Shared Sub ArgumentNullOrEmpty ( _
	parameter As String, _
	argument As String _
)
Visual C++
public:
static void ArgumentNullOrEmpty(
	String^ parameter, 
	String^ argument
)

Parameters

parameter
Type: System..::.String
The name of the method parameter.
argument
Type: System..::.String
The value being passed as an argument.

See Also