ElementReference Constructors 
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.
Overloads
| ElementReference(String) | 
						 Instantiates a new ElementReference.  | 
        	
| ElementReference(String, ElementReferenceContext) | 
						 Instantiates a new ElementReference.  | 
        	
ElementReference(String)
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
Instantiates a new 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)
	Parameters
- id
 - String
 
A unique identifier for this ElementReference.
Applies to
ElementReference(String, ElementReferenceContext)
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
- Source:
 - ElementReference.cs
 
Instantiates a new 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)
	Parameters
- id
 - String
 
A unique identifier for this ElementReference.
- context
 - ElementReferenceContext
 
The nullable ElementReferenceContext instance.