Parameter.CheckParameterName(String) Method

Definition

Validates the specified parameter name.

protected:
 static void CheckParameterName(System::String ^ parameterName);
protected static void CheckParameterName (string parameterName);
static member CheckParameterName : string -> unit
Protected Shared Sub CheckParameterName (parameterName As String)

Parameters

parameterName
String

The parameter name.

Remarks

Throws an exception if the specified parameter name is invalid.

Applies to