Share via


RazorPageBase.Write Method

Definition

Overloads

Write(Object)

Writes the specified value with HTML encoding to Output.

Write(String)

Writes the specified value with HTML encoding to Output.

Write(Object)

Source:
RazorPageBase.cs
Source:
RazorPageBase.cs
Source:
RazorPageBase.cs

Writes the specified value with HTML encoding to Output.

public:
 virtual void Write(System::Object ^ value);
public virtual void Write (object value);
public virtual void Write (object? value);
abstract member Write : obj -> unit
override this.Write : obj -> unit
Public Overridable Sub Write (value As Object)

Parameters

value
Object

The Object to write.

Applies to

Write(String)

Source:
RazorPageBase.cs
Source:
RazorPageBase.cs
Source:
RazorPageBase.cs

Writes the specified value with HTML encoding to Output.

public:
 virtual void Write(System::String ^ value);
public virtual void Write (string value);
public virtual void Write (string? value);
abstract member Write : string -> unit
override this.Write : string -> unit
Public Overridable Sub Write (value As String)

Parameters

value
String

The String to write.

Applies to