Partager via


KernelArguments.Add(String, Object) Method

Definition

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.

Applies to