Renderer.AssignRootComponentId(IComponent) 方法

定义

IComponent 与 关联, Renderer分配一个在 作用域内唯一的 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

参数

component
IComponent

组件。

返回

组件的分配标识符。

适用于