Поделиться через


CDaoRecordset::GetParamValue

Call this member function to retrieve the current value of the specified parameter stored in the underlying DAOParameter object.

virtual COleVariant GetParamValue(
   int nIndex 
);
virtual COleVariant GetParamValue(
   LPCTSTR lpszName 
);

Параметры

  • nIndex
    The numerical position of the parameter in the underlying DAOParameter object.

  • lpszName
    The name of the parameter whose value you want.

Возвращаемое значение

An object of class COleVariant that contains the parameter's value.

Заметки

You can access the parameter either by name or by its numerical position in the collection.

For related information, see the topic "Parameter Object" in DAO Help.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::SetParamValue

CDaoRecordset::m_nParams