ViewBufferValue 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ViewBufferValue(IHtmlContent) |
使用 IHtmlContent 值初始化 的新實例 ViewBufferValue 。 |
ViewBufferValue(String) |
使用 |
ViewBufferValue(IHtmlContent)
使用 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)
參數
- content
- IHtmlContent
適用於
ViewBufferValue(String)
使用 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
數值。