bool AddProperty (DWORD dwPropertyID、const VARIANTamp;var);(&A)
bool AddProperty (DWORD dwPropertyID、LPCTSTR szValue);
bool AddProperty (DWORD dwPropertyID、LPCWSTR szValue );
bool AddProperty (DWORD dwPropertyID、bool bValue);
bool AddProperty (DWORD dwPropertyID、バイト bValue);
bool AddProperty (DWORD dwPropertyID、短い nValue );
bool AddProperty (DWORD dwPropertyID、長い nValue);
bool AddProperty (DWORD dwPropertyID、float fltValue );
bool AddProperty (DWORD dwPropertyID、ダブル dblValue );
bool AddProperty (DWORD dwPropertyID、CY cyValue );
戻り値
プロパティが正常に追加された場合は trueです。それ以外の場合、 false。
パラメーター
dwPropertyID
[入力]追加するプロパティの ID。プロパティ セットに追加DBPROP構造のdwPropertyIDを初期化するために使用。
var
[入力]プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用する variant。
szValue
[入力]プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用される文字列。
bValue
[入力]バイトまたはブール値のプロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用。
nValue
[入力]プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用する整数値。
fltValue
[入力]プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用する浮動小数点値。
dblValue
[入力]プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用、倍精度浮動小数点値。
cy
[入力]CY の通貨の値は、プロパティ セットに追加DBPROP構造のプロパティ値を初期化するために使用。
解説
プロパティ セットにプロパティを追加します。
CDBPropSet 概要|nbsp;クラス メンバー(&N)
参照してください。
DBPROP 構造体は、 OLE DB programmer's Reference