Renderer.GetComponentState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetComponentState(IComponent) |
Resolves the component state for a given IComponent instance. |
GetComponentState(Int32) |
Gets the ComponentState associated with the specified component. |
GetComponentState(IComponent)
- Source:
- Renderer.cs
- Source:
- Renderer.cs
Resolves the component state for a given IComponent instance.
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
Parameters
- component
- IComponent
The IComponent instance
Returns
Applies to
GetComponentState(Int32)
- Source:
- Renderer.cs
- Source:
- Renderer.cs
Gets the ComponentState associated with the specified component.
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
Parameters
- componentId
- Int32
The component ID
Returns
The corresponding ComponentState.