ElementReference 构造函数

定义

重载

ElementReference(String)

实例化一个新的 ElementReference

ElementReference(String, ElementReferenceContext)

实例化一个新的 ElementReference

ElementReference(String)

实例化一个新的 ElementReference

public:
 ElementReference(System::String ^ id);
public ElementReference (string id);
new Microsoft.AspNetCore.Components.ElementReference : string -> Microsoft.AspNetCore.Components.ElementReference
Public Sub New (id As String)

参数

id
String

ElementReference的唯一标识符。

适用于

ElementReference(String, ElementReferenceContext)

实例化一个新的 ElementReference

public:
 ElementReference(System::String ^ id, Microsoft::AspNetCore::Components::ElementReferenceContext ^ context);
public ElementReference (string id, Microsoft.AspNetCore.Components.ElementReferenceContext? context);
new Microsoft.AspNetCore.Components.ElementReference : string * Microsoft.AspNetCore.Components.ElementReferenceContext -> Microsoft.AspNetCore.Components.ElementReference
Public Sub New (id As String, context As ElementReferenceContext)

参数

id
String

ElementReference的唯一标识符。

context
ElementReferenceContext

可以为 null 的 ElementReferenceContext 实例。

适用于