Parameter.CheckParameterName(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.
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.