InputBase<TValue>.Value 屬性

定義

取得或設定輸入的值。 這應該與雙向系結搭配使用。

public:
 property TValue Value { TValue get(); void set(TValue value); };
[Microsoft.AspNetCore.Components.Parameter]
public TValue Value { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public TValue? Value { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Value : 'Value with get, set
Public Property Value As TValue

屬性值

TValue
屬性

範例

@bind-Value=「model.PropertyName」

適用於