ArgumentNull Method

Project Mercury API

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

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

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

Syntax

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

Parameters

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

See Also