共用方式為


TypedDataRow.SetBoolean 方法

定義

多載

SetBoolean(String, Boolean)
SetBoolean(String, Nullable<Boolean>)

SetBoolean(String, Boolean)

public:
 void SetBoolean(System::String ^ columnName, bool newValue);
public void SetBoolean (string columnName, bool newValue);
member this.SetBoolean : string * bool -> unit
Public Sub SetBoolean (columnName As String, newValue As Boolean)

參數

columnName
String
newValue
Boolean

適用於

SetBoolean(String, Nullable<Boolean>)

重要

此 API 不符合 CLS 規範。

public:
 void SetBoolean(System::String ^ columnName, Nullable<bool> newValue);
[System.CLSCompliant(false)]
public void SetBoolean (string columnName, Nullable<bool> newValue);
member this.SetBoolean : string * Nullable<bool> -> unit
Public Sub SetBoolean (columnName As String, newValue As Nullable(Of Boolean))

參數

columnName
String
newValue
Nullable<Boolean>
屬性

適用於