KernelArguments.Add(String, Object) 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.
Adds the specified argument name and value to the KernelArguments.
public void Add (string name, object? value);
member this.Add : string * obj -> unit
Public Sub Add (name As String, value As Object)
Parameters
- name
- String
The name of the argument to add.
- value
- Object
The value of the argument to add.
Implements
Exceptions
name
is null.
An argument with the same name already exists in the KernelArguments.