BaseView.Write Method
Definition
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.
Overloads
Write(HelperResult) |
WriteTo(TextWriter) is invoked |
Write(Object) |
Convert to string and html encode |
Write(String) |
Html encode and write |
Write(HelperResult)
- Source:
- BaseView.cs
- Source:
- BaseView.cs
WriteTo(TextWriter) is invoked
protected:
void Write(Microsoft::AspNetCore::DiagnosticsViewPage::Views::HelperResult ^ result);
protected void Write (Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult result);
member this.Write : Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult -> unit
Protected Sub Write (result As HelperResult)
Parameters
- result
- HelperResult
The HelperResult to invoke
Applies to
Write(Object)
- Source:
- BaseView.cs
- Source:
- BaseView.cs
Convert to string and html encode
protected:
void Write(System::Object ^ value);
protected void Write (object value);
member this.Write : obj -> unit
Protected Sub Write (value As Object)
Parameters
- value
- Object
Applies to
Write(String)
- Source:
- BaseView.cs
- Source:
- BaseView.cs
Html encode and write
protected:
void Write(System::String ^ value);
protected void Write (string value);
member this.Write : string -> unit
Protected Sub Write (value As String)
Parameters
- value
- String
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for