Table of Contents

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

DynamoDBBool

True

Constant DynamoDBBool for the true value

public static readonly DynamoDBBool True

Field Value

DynamoDBBool

Properties

Value

Gets and sets the Value property.

public bool Value { get; set; }

Property Value

bool

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

object

Equals(object)

Implement the Equals method

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Implement the GetHashCode method

public override int GetHashCode()

Returns

int

Operators

explicit operator bool(DynamoDBBool)

Explicitly convert DynamoDBBool to Boolean

public static explicit operator bool(DynamoDBBool p)

Parameters

p DynamoDBBool

DynamoDBBool 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 bool

Boolean data to convert

Returns

DynamoDBBool

DynamoDBBool representing the data