RenderTreeBuilder.OpenComponent 方法

定义

重载

OpenComponent(Int32, Type)

追加表示子组件的框架。

OpenComponent<TComponent>(Int32)

追加表示子组件的框架。

OpenComponent(Int32, Type)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示子组件的框架。

public:
 void OpenComponent(int sequence, Type ^ componentType);
public void OpenComponent (int sequence, Type componentType);
member this.OpenComponent : int * Type -> unit
Public Sub OpenComponent (sequence As Integer, componentType As Type)

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

componentType
Type

子组件的类型。

适用于

OpenComponent<TComponent>(Int32)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示子组件的框架。

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent void OpenComponent(int sequence);
public void OpenComponent<TComponent> (int sequence) where TComponent : Microsoft.AspNetCore.Components.IComponent;
member this.OpenComponent : int -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Sub OpenComponent(Of TComponent As IComponent) (sequence As Integer)

类型参数

TComponent

子组件的类型。

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

适用于