Class DynamoDBBool
- Namespace
- Amazon.DynamoDBv2.DocumentModel
- Assembly
- AWSSDK.DynamoDBv2.dll
A DynamoDBEntry that represents a DynamoDB bool (BOOL) type.
public class DynamoDBBool : DynamoDBEntry, ICloneable
- Inheritance
-
DynamoDBBool
- Implements
- Inherited Members
Constructors
DynamoDBBool(bool)
Construct an instance of DynamnDBBool
public DynamoDBBool(bool value)
Parameters
value
bool
Fields
False
Constant DynamoDBBool for the false value
public static readonly DynamoDBBool False
Field Value
True
Constant DynamoDBBool for the true value
public static readonly DynamoDBBool True
Field Value
Properties
Value
Gets and sets the Value property.
public bool Value { get; set; }
Property Value
Methods
AsBoolean()
Explicitly convert DynamoDBBool to Boolean
public override bool AsBoolean()
Returns
- bool
Boolean value of this object
Clone()
Implement the Clone method
public override object Clone()
Returns
Equals(object)
Implement the Equals method
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
Implement the GetHashCode method
public override int GetHashCode()
Returns
Operators
explicit operator bool(DynamoDBBool)
Explicitly convert DynamoDBBool to Boolean
public static explicit operator bool(DynamoDBBool p)
Parameters
p
DynamoDBBoolDynamoDBBool to convert
Returns
- bool
Boolean value of DynamoDBBool
implicit operator DynamoDBBool(bool)
Implicitly convert Boolean to DynamoDBBool
public static implicit operator DynamoDBBool(bool data)
Parameters
data
boolBoolean data to convert
Returns
- DynamoDBBool
DynamoDBBool representing the data