Renderer.GetComponentState 方法

定义

重载

GetComponentState(IComponent)

解析给定 IComponent 实例的组件状态。

GetComponentState(Int32)

获取与 ComponentState 指定组件关联的 。

GetComponentState(IComponent)

Source:
Renderer.cs
Source:
Renderer.cs

解析给定 IComponent 实例的组件状态。

protected internal Microsoft.AspNetCore.Components.Rendering.ComponentState GetComponentState (Microsoft.AspNetCore.Components.IComponent component);
member this.GetComponentState : Microsoft.AspNetCore.Components.IComponent -> Microsoft.AspNetCore.Components.Rendering.ComponentState
Protected Friend Function GetComponentState (component As IComponent) As ComponentState

参数

component
IComponent

IComponent 实例

返回

适用于

GetComponentState(Int32)

Source:
Renderer.cs
Source:
Renderer.cs

获取与 ComponentState 指定组件关联的 。

protected Microsoft.AspNetCore.Components.Rendering.ComponentState GetComponentState (int componentId);
member this.GetComponentState : int -> Microsoft.AspNetCore.Components.Rendering.ComponentState
Protected Function GetComponentState (componentId As Integer) As ComponentState

参数

componentId
Int32

组件 ID

返回

相应的 ComponentState

适用于