Dela via


CascadingValue<TValue>.Name Property

Definition

Optionally gives a name to the provided value. Descendant components will be able to receive the value by specifying this name.

If no name is specified, then descendant components will receive the value based the type of value they are requesting.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string Name { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string? Name { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to