Share via


Renderer.AssignRootComponentId(IComponent) Method

Definition

Associates the IComponent with the Renderer, assigning an identifier that is unique within the scope of the Renderer.

protected public:
 int AssignRootComponentId(Microsoft::AspNetCore::Components::IComponent ^ component);
protected internal int AssignRootComponentId (Microsoft.AspNetCore.Components.IComponent component);
member this.AssignRootComponentId : Microsoft.AspNetCore.Components.IComponent -> int
Protected Friend Function AssignRootComponentId (component As IComponent) As Integer

Parameters

component
IComponent

The component.

Returns

The component's assigned identifier.

Applies to