EntityReference<TEntity>.Value 屬性

定義

取得或設定這個 EntityReference<TEntity> 所傳回的相關物件。Gets or sets the related object returned by this EntityReference<TEntity>.

public:
 property TEntity Value { TEntity get(); void set(TEntity value); };
public TEntity Value { get; set; }
member this.Value : 'Entity with get, set
member this.Value : 'Entity with get, set
Public Property Value As TEntity

屬性值

TEntity

這個 EntityReference<TEntity> 所傳回的物件。The object returned by this EntityReference<TEntity>.

備註

如果所設定的值與目前的值相同,就不會指派任何值。No value will be assigned if the value being set is the same as the current value.

適用於