ActivationContext<T>.SetParameter(String, Object) Method

Definition

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the value of the parameter specified by name.

public:
 virtual void SetParameter(System::String ^ name, System::Object ^ value);
public virtual void SetParameter (string name, object value);
abstract member SetParameter : string * obj -> unit
override this.SetParameter : string * obj -> unit
Public Overridable Sub SetParameter (name As String, value As Object)

Parameters

name
String

The name of the parameter.

value
Object

The type to set the parameter to.

Exceptions

The name parameter is a null reference (Nothing in Visual Basic) or empty.

Applies to