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

可為 ElementReferenceContext Null 的實例。

適用於