Link<T>.HasLoadedOrAssignedValue Link<T>.HasLoadedOrAssignedValue Link<T>.HasLoadedOrAssignedValue Link<T>.HasLoadedOrAssignedValue Property

定義

指定 Link<T> 是否已載入或指派值。Specifies whether the Link<T> has loaded or assigned a value.

public:
 property bool HasLoadedOrAssignedValue { bool get(); };
public bool HasLoadedOrAssignedValue { get; }
member this.HasLoadedOrAssignedValue : bool
Public ReadOnly Property HasLoadedOrAssignedValue As Boolean

屬性值

true如果已載入或指派值, 則為, false否則為。 Link<T>true if the Link<T> has either loaded or assigned a value; otherwise, false.

備註

「已載入」表示在具體化期間或在延後載入時載入資料。"Loaded" means that the data was loaded during materialization or at deferred loading. 「已指派」表示您已手動將資料指定為值。"Assigned" means that you have manually given the data a value.

LINQ to SQLLINQ to SQL會使用這個屬性來確定Link<T>具有值, 因此存取它將不會觸發延遲的載入。uses this property to make sure that the Link<T> has a value, so that accessing it will not trigger deferred loading.

適用於