ResponseHeaders.Set(String, Object) Method

Definition

Sets the header value.

public:
 void Set(System::String ^ name, System::Object ^ value);
public void Set (string name, object value);
public void Set (string name, object? value);
member this.Set : string * obj -> unit
Public Sub Set (name As String, value As Object)

Parameters

name
String

The header name.

value
Object

The header value.

Applies to