RazorPageBase.WriteLiteral Method

Definition

Overloads

WriteLiteral(Object)

Writes the specified value without HTML encoding to Output.

WriteLiteral(String)

Writes the specified value without HTML encoding to Output.

WriteLiteral(Object)

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

Writes the specified value without HTML encoding to Output.

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

Parameters

value
Object

The Object to write.

Applies to

WriteLiteral(String)

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

Writes the specified value without HTML encoding to Output.

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

Parameters

value
String

The String to write.

Applies to