RazorPageBase.Write Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write(Object) |
Writes the specified |
Write(String) |
Writes the specified |
- 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);
C#
public virtual void Write (object value);
C#
public virtual void Write (object? value);
abstract member Write : obj -> unit
override this.Write : obj -> unit
Public Overridable Sub Write (value As Object)
Parameters
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- 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);
C#
public virtual void Write (string value);
C#
public virtual void Write (string? value);
abstract member Write : string -> unit
override this.Write : string -> unit
Public Overridable Sub Write (value As String)
Parameters
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |