CascadingParameterAttribute.Name 屬性

定義

如果指定,參數值將會由提供具有此名稱之值的最接近上階 CascadingValue<TValue> 提供。

如果為 null,參數值將會由最接近的上階 CascadingValue<TValue> 提供,以提供具有相容類型的值。

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
public string? Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

屬性值

適用於