SqlBoolean.Value SqlBoolean.Value SqlBoolean.Value SqlBoolean.Value Property

定义

获取 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

属性值

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

异常

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

适用于

另请参阅