Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将列设置为字符串值。
public virtual bool SetString( ul_column_num cid, const char * value, size_t len )
cid 从 1 开始的列序号。
value 字符串值。传递 NULL 等同于调用 SetNull 方法。
len 可选。字符串的长度(以字节为单位)或 UL_NULL_TERMINATED_STRING 常量(如果字符串以空值终止)。如果将 len 值设置为大于 32K,则会设置 SQLE_INVALID_PARAMETER 常量。对于更大的字符串,请改为调用 AppendStringChunk 方法。
如果成功,则返回 true;否则返回 false。