ViewBufferValue 建構函式

定義

多載

ViewBufferValue(IHtmlContent)

使用 IHtmlContent 值初始化 的新實例 ViewBufferValue

ViewBufferValue(String)

使用 string 值初始化 的新實例 ViewBufferValue

ViewBufferValue(IHtmlContent)

來源:
ViewBufferValue.cs

使用 IHtmlContent 值初始化 的新實例 ViewBufferValue

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)

參數

適用於

ViewBufferValue(String)

來源:
ViewBufferValue.cs

使用 string 值初始化 的新實例 ViewBufferValue

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)

參數

value
String

數值。

適用於