Dela via


ViewBufferValue Constructors

Definition

Overloads

ViewBufferValue(IHtmlContent)

Initializes a new instance of ViewBufferValue with a IHtmlContent value.

ViewBufferValue(String)

Initializes a new instance of ViewBufferValue with a string value.

ViewBufferValue(IHtmlContent)

Source:
ViewBufferValue.cs

Initializes a new instance of ViewBufferValue with a IHtmlContent value.

public:
 ViewBufferValue(Microsoft::AspNetCore::Html::IHtmlContent ^ content);
public ViewBufferValue (Microsoft.AspNetCore.Html.IHtmlContent content);
new Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue
Public Sub New (content As IHtmlContent)

Parameters

content
IHtmlContent

The IHtmlContent.

Applies to

ViewBufferValue(String)

Source:
ViewBufferValue.cs

Initializes a new instance of ViewBufferValue with a string value.

public:
 ViewBufferValue(System::String ^ value);
public ViewBufferValue (string value);
new Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue : string -> Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue
Public Sub New (value As String)

Parameters

value
String

The value.

Applies to