SqlCeUpdatableRecord.SetString 方法
將指定之索引上的資料行設定為傳入的 string 值。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Sub SetString ( _
ordinal As Integer, _
value As String _
)
'用途
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As String
instance.SetString(ordinal, value)
public void SetString(
int ordinal,
string value
)
public:
void SetString(
int ordinal,
String^ value
)
member SetString :
ordinal:int *
value:string -> unit
public function SetString(
ordinal : int,
value : String
)
參數
- ordinal
型別:System.Int32
要在其中設定值的欄位。
- value
型別:System.String
要設定的值。