Link<T>.HasValue Link<T>.HasValue Link<T>.HasValue Link<T>.HasValue Property

定義

取得值,這個值會指定來源是否有值。Gets a value that specifies whether the source has a value.

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

屬性值

true如果來源有已指派或已載入的值 (包括 null), 則為,否則為falsetrue if the source has an assigned or loaded value (including null); otherwise, false.

適用於