BaseView.WriteAttributeTo 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.
Writes the given attribute to the given writer
protected:
void WriteAttributeTo(System::IO::TextWriter ^ writer, System::String ^ name, System::String ^ leader, System::String ^ trailer, ... cli::array <Microsoft::AspNetCore::DiagnosticsViewPage::Views::AttributeValue ^> ^ values);
protected void WriteAttributeTo (System.IO.TextWriter writer, string name, string leader, string trailer, params Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue[] values);
member this.WriteAttributeTo : System.IO.TextWriter * string * string * string * Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue[] -> unit
Protected Sub WriteAttributeTo (writer As TextWriter, name As String, leader As String, trailer As String, ParamArray values As AttributeValue())
Parameters
- writer
- TextWriter
The TextWriter instance to write to.
- name
- String
The name of the attribute to write
- leader
- String
The value of the prefix
- trailer
- String
The value of the suffix
- values
- AttributeValue[]
The AttributeValues to write.