Compartir a través de


Guard.ArgumentNotNull(Object, String) Method

Definition

Checks an argument to ensure it isn't null

public:
 static void ArgumentNotNull(System::Object ^ argumentValue, System::String ^ argumentName);
public static void ArgumentNotNull (object argumentValue, string argumentName);
static member ArgumentNotNull : obj * string -> unit
Public Shared Sub ArgumentNotNull (argumentValue As Object, argumentName As String)

Parameters

argumentValue
Object

Specifies the argument value to check.

argumentName
String

Specifies the name of the argument.

Applies to