Bewerken

Share via


SqlBoolean Constructors

Definition

Initializes a new instance of the SqlBoolean structure.

Overloads

SqlBoolean(Boolean)

Initializes a new instance of the SqlBoolean structure using the supplied Boolean value.

SqlBoolean(Int32)

Initializes a new instance of the SqlBoolean structure using the specified integer value.

SqlBoolean(Boolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

Initializes a new instance of the SqlBoolean structure using the supplied Boolean value.

public:
 SqlBoolean(bool value);
public SqlBoolean (bool value);
new System.Data.SqlTypes.SqlBoolean : bool -> System.Data.SqlTypes.SqlBoolean
Public Sub New (value As Boolean)

Parameters

value
Boolean

The value for the new SqlBoolean structure; either true or false.

See also

Applies to

SqlBoolean(Int32)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

Initializes a new instance of the SqlBoolean structure using the specified integer value.

public:
 SqlBoolean(int value);
public SqlBoolean (int value);
new System.Data.SqlTypes.SqlBoolean : int -> System.Data.SqlTypes.SqlBoolean
Public Sub New (value As Integer)

Parameters

value
Int32

The integer whose value is to be used for the new SqlBoolean structure.

See also

Applies to