Renderer.AssignRootComponentId(IComponent) 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.
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.