.NET Framework Class Library  

SqlBoolean Members

SqlBoolean overview

Public Constructors

public constructorSqlBoolean Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the SqlBoolean structure.

Public Fields

public fieldstatic (Shared in Visual Basic)False

Supported by the .NET Compact Framework.

Represents a false value that can be assigned to the Value property of an instance of the SqlBoolean structure.
public fieldstatic (Shared in Visual Basic)Null

Supported by the .NET Compact Framework.

Represents a null value that can be assigned to the Value property of an instance of the SqlBoolean structure.
public fieldstatic (Shared in Visual Basic)One

Supported by the .NET Compact Framework.

Represents a one value that can be assigned to the ByteValue property of an instance of the SqlBoolean structure.
public fieldstatic (Shared in Visual Basic)True

Supported by the .NET Compact Framework.

Represents a true value that can be assigned to the Value property of an instance of the SqlBoolean structure.
public fieldstatic (Shared in Visual Basic)Zero

Supported by the .NET Compact Framework.

Represents a zero value that can be assigned to the ByteValue property of an instance of the SqlBoolean structure.

Public Properties

public propertyByteValue

Supported by the .NET Compact Framework.

Gets the value of the SqlBoolean structure as a byte.
public propertyIsFalse

Supported by the .NET Compact Framework.

Indicates whether the current Value is False.
public propertyIsNull

Supported by the .NET Compact Framework.

Indicates whether or not the value of the SqlBoolean structure is null.
public propertyIsTrue

Supported by the .NET Compact Framework.

Indicates whether the current Value is True.
public propertyValue

Supported by the .NET Compact Framework.

Gets the SqlBoolean structure's value. This property is read-only.

Public Methods

public methodstatic (Shared in Visual Basic)And

Supported by the .NET Compact Framework.

Computes the bitwise AND of two specified SqlBoolean structures.
public methodCompareTo

Supported by the .NET Compact Framework.

Compares this SqlBoolean structure to a specified object and returns an indication of their relative values.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded. Overridden. Compares two SqlBoolean structures to determine if they are equal.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)NotEquals

Supported by the .NET Compact Framework.

Compares two instances of SqlBoolean for equality.
public methodstatic (Shared in Visual Basic)OnesComplement

Supported by the .NET Compact Framework.

Performs a one's complement operation on the supplied SqlBoolean structures.
public methodstatic (Shared in Visual Basic)Or

Supported by the .NET Compact Framework.

Performs a bitwise OR operation on the two specified SqlBoolean structures.
public methodstatic (Shared in Visual Basic)Parse

Supported by the .NET Compact Framework.

Converts the specified String representation of a logical value to its SqlBoolean equivalent.
public methodToSqlByte

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlByte.
public methodToSqlDecimal

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlDecimal.
public methodToSqlDouble

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlDouble.
public methodToSqlInt16

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlInt16.
public methodToSqlInt32

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlInt32.
public methodToSqlInt64

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlInt64.
public methodToSqlMoney

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlMoney.
public methodToSqlSingle

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlSingle.
public methodToSqlString

Supported by the .NET Compact Framework.

Converts this SqlBoolean structure to SqlString.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts this SqlBoolean structure to a string.
public methodstatic (Shared in Visual Basic)Xor

Supported by the .NET Compact Framework.

Performs a bitwise exclusive-OR operation on the supplied parameters.

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Bitwise And Operator

Supported by the .NET Compact Framework.

Computes the bitwise AND of two specified SqlBoolean structures.
public operatorstatic (Shared in Visual Basic)Bitwise Or Operator

Supported by the .NET Compact Framework.

Computes the bitwise OR of its operands.
public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlBoolean for equality.
public operatorstatic (Shared in Visual Basic)Exclusive Or Operator

Supported by the .NET Compact Framework.

Performs a bitwise exclusive-OR operation on the supplied parameters.
public operatorstatic (Shared in Visual Basic)False Operator

Supported by the .NET Compact Framework.

The false operator can be used to test the Value of the SqlBoolean to determine whether it is false.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Compares two instances of SqlBoolean to determine if they are not equal.
public operatorstatic (Shared in Visual Basic)Logical Not Operator

Supported by the .NET Compact Framework.

Performs a NOT operation on a SqlBoolean.
public operatorstatic (Shared in Visual Basic)Ones Complement Operator

Supported by the .NET Compact Framework.

Performs a one's complement operation on the supplied SqlBoolean structures.
public operatorstatic (Shared in Visual Basic)True Operator

Supported by the .NET Compact Framework.

The true operator can be used to test the Value of the SqlBoolean to determine whether it is true.
public operatorstatic (Shared in Visual Basic)SqlBoolean to Boolean Conversion

Supported by the .NET Compact Framework.

Converts a SqlBoolean to a Boolean.
public operatorstatic (Shared in Visual Basic)SqlByte to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlByte parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlDecimal to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlDecimal parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlDouble to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlDouble parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlInt16 to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlInt16 parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlInt32 to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlInt32 parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlInt64 to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlInt64 parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlMoney to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlMoney parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlSingle to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlSingle parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)SqlString to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the SqlString parameter to a SqlBoolean structure.
public operatorstatic (Shared in Visual Basic)Boolean to SqlBoolean Conversion

Supported by the .NET Compact Framework.

Converts the supplied byte value to a SqlBoolean.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlBoolean Structure | System.Data.SqlTypes Namespace