SqlBoolean.Value Property

Definition

获取 SqlBoolean 结构的值。Gets the SqlBoolean structure's value. 此属性为只读。This property is read-only.

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

Property Value

Boolean

如果 SqlBooleanTrue,则为 true;否则为 falsetrue if the SqlBoolean is True; otherwise, false.

Exceptions

该属性设置为 null。The property is set to null.

Applies to

See also