Guard.ArgumentNotNull(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.