共用方式為


RazorComponentResult 建構函式

定義

多載

RazorComponentResult(Type)

建構 的 RazorComponentResult 實例。

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

建構 的 RazorComponentResult 實例。

RazorComponentResult(Type, Object)

建構 的 RazorComponentResult 實例。

RazorComponentResult(Type)

來源:
RazorComponentResult.cs

建構 的 RazorComponentResult 實例。

public RazorComponentResult (Type componentType);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type)

參數

componentType
Type

要呈現之元件的型別。 這必須實作 IComponent

適用於

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

來源:
RazorComponentResult.cs

建構 的 RazorComponentResult 實例。

public RazorComponentResult (Type componentType, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As IReadOnlyDictionary(Of String, Object))

參數

componentType
Type

要呈現之元件的型別。 這必須實作 IComponent

parameters
IReadOnlyDictionary<String,Object>

元件的參數。

適用於

RazorComponentResult(Type, Object)

來源:
RazorComponentResult.cs

建構 的 RazorComponentResult 實例。

public RazorComponentResult (Type componentType, object parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * obj -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As Object)

參數

componentType
Type

要呈現之元件的型別。 這必須實作 IComponent

parameters
Object

元件的參數。

適用於