📄 msado15.h
字号:
long GetAbsolutePosition();
void SetAbsolutePosition(long nNewValue);
void SetRefActiveConnection(LPDISPATCH newValue);
void SetActiveConnection(const VARIANT& newValue);
VARIANT GetActiveConnection();
BOOL GetBof();
VARIANT GetBookmark();
void SetBookmark(const VARIANT& newValue);
long GetCacheSize();
void SetCacheSize(long nNewValue);
long GetCursorType();
void SetCursorType(long nNewValue);
BOOL GetEof();
LPDISPATCH GetFields();
long GetLockType();
void SetLockType(long nNewValue);
long GetMaxRecords();
void SetMaxRecords(long nNewValue);
long GetRecordCount();
void SetRefSource(LPDISPATCH newValue);
void SetSource(LPCTSTR lpszNewValue);
VARIANT GetSource();
void AddNew(const VARIANT& FieldList, const VARIANT& Values);
void CancelUpdate();
void Close();
void Delete(long AffectRecords);
VARIANT GetRows(long Rows, const VARIANT& Start, const VARIANT& Fields);
void Move(long NumRecords, const VARIANT& Start);
void MoveNext();
void MovePrevious();
void MoveFirst();
void MoveLast();
void Open(const VARIANT& Source, const VARIANT& ActiveConnection, long CursorType, long LockType, long Options);
void Requery(long Options);
void Update(const VARIANT& Fields, const VARIANT& Values);
long GetAbsolutePage();
void SetAbsolutePage(long nNewValue);
long GetEditMode();
VARIANT GetFilter();
void SetFilter(const VARIANT& newValue);
long GetPageCount();
long GetPageSize();
void SetPageSize(long nNewValue);
CString GetSort();
void SetSort(LPCTSTR lpszNewValue);
long GetStatus();
long GetState();
void UpdateBatch(long AffectRecords);
void CancelBatch(long AffectRecords);
long GetCursorLocation();
void SetCursorLocation(long nNewValue);
LPDISPATCH NextRecordset(VARIANT* RecordsAffected);
BOOL Supports(long CursorOptions);
long GetMarshalOptions();
void SetMarshalOptions(long nNewValue);
void Find(LPCTSTR Criteria, long SkipRecords, long SearchDirection, const VARIANT& Start);
void Cancel();
LPUNKNOWN GetDataSource();
void SetRefDataSource(LPUNKNOWN newValue);
void Save(LPCTSTR FileName, long PersistFormat);
LPDISPATCH GetActiveCommand();
void SetStayInSync(BOOL bNewValue);
BOOL GetStayInSync();
CString GetString(long StringFormat, long NumRows, LPCTSTR ColumnDelimeter, LPCTSTR RowDelimeter, LPCTSTR NullExpr);
CString GetDataMember();
void SetDataMember(LPCTSTR lpszNewValue);
long CompareBookmarks(const VARIANT& Bookmark1, const VARIANT& Bookmark2);
LPDISPATCH Clone(long LockType);
void Resync(long AffectRecords, long ResyncValues);
};
/////////////////////////////////////////////////////////////////////////////
// Fields wrapper class
class Fields : public COleDispatchDriver
{
public:
Fields() {} // Calls COleDispatchDriver default constructor
Fields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Fields(const Fields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
LPDISPATCH GetItem(const VARIANT& Index);
void Append(LPCTSTR Name, long Type, long DefinedSize, long Attrib);
void Delete(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// Field wrapper class
class Field : public COleDispatchDriver
{
public:
Field() {} // Calls COleDispatchDriver default constructor
Field(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Field(const Field& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
long GetActualSize();
long GetAttributes();
long GetDefinedSize();
CString GetName();
long GetType();
VARIANT GetValue();
void SetValue(const VARIANT& newValue);
// method 'GetPrecision' not emitted because of invalid return type or parameter type
// method 'GetNumericScale' not emitted because of invalid return type or parameter type
void AppendChunk(const VARIANT& Data);
VARIANT GetChunk(long Length);
VARIANT GetOriginalValue();
VARIANT GetUnderlyingValue();
LPUNKNOWN GetDataFormat();
void SetRefDataFormat(LPUNKNOWN newValue);
// method 'SetPrecision' not emitted because of invalid return type or parameter type
// method 'SetNumericScale' not emitted because of invalid return type or parameter type
void SetType(long nNewValue);
void SetDefinedSize(long nNewValue);
void SetAttributes(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _Parameter wrapper class
class _Parameter : public COleDispatchDriver
{
public:
_Parameter() {} // Calls COleDispatchDriver default constructor
_Parameter(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Parameter(const _Parameter& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
CString GetName();
void SetName(LPCTSTR lpszNewValue);
VARIANT GetValue();
void SetValue(const VARIANT& newValue);
long GetType();
void SetType(long nNewValue);
void SetDirection(long nNewValue);
long GetDirection();
// method 'SetPrecision' not emitted because of invalid return type or parameter type
// method 'GetPrecision' not emitted because of invalid return type or parameter type
// method 'SetNumericScale' not emitted because of invalid return type or parameter type
// method 'GetNumericScale' not emitted because of invalid return type or parameter type
void SetSize(long nNewValue);
long GetSize();
void AppendChunk(const VARIANT& Val);
long GetAttributes();
void SetAttributes(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// Parameters wrapper class
class Parameters : public COleDispatchDriver
{
public:
Parameters() {} // Calls COleDispatchDriver default constructor
Parameters(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Parameters(const Parameters& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
void Append(LPDISPATCH Object);
void Delete(const VARIANT& Index);
LPDISPATCH GetItem(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// ConnectionEvents wrapper class
class ConnectionEvents : public COleDispatchDriver
{
public:
ConnectionEvents() {} // Calls COleDispatchDriver default constructor
ConnectionEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
ConnectionEvents(const ConnectionEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
// method 'InfoMessage' not emitted because of invalid return type or parameter type
// method 'BeginTransComplete' not emitted because of invalid return type or parameter type
// method 'CommitTransComplete' not emitted because of invalid return type or parameter type
// method 'RollbackTransComplete' not emitted because of invalid return type or parameter type
// method 'WillExecute' not emitted because of invalid return type or parameter type
// method 'ExecuteComplete' not emitted because of invalid return type or parameter type
// method 'WillConnect' not emitted because of invalid return type or parameter type
// method 'ConnectComplete' not emitted because of invalid return type or parameter type
// method 'Disconnect' not emitted because of invalid return type or parameter type
};
/////////////////////////////////////////////////////////////////////////////
// RecordsetEvents wrapper class
class RecordsetEvents : public COleDispatchDriver
{
public:
RecordsetEvents() {} // Calls COleDispatchDriver default constructor
RecordsetEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
RecordsetEvents(const RecordsetEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
// method 'WillChangeField' not emitted because of invalid return type or parameter type
// method 'FieldChangeComplete' not emitted because of invalid return type or parameter type
// method 'WillChangeRecord' not emitted because of invalid return type or parameter type
// method 'RecordChangeComplete' not emitted because of invalid return type or parameter type
// method 'WillChangeRecordset' not emitted because of invalid return type or parameter type
// method 'RecordsetChangeComplete' not emitted because of invalid return type or parameter type
// method 'WillMove' not emitted because of invalid return type or parameter type
// method 'MoveComplete' not emitted because of invalid return type or parameter type
// method 'EndOfRecordset' not emitted because of invalid return type or parameter type
// method 'FetchProgress' not emitted because of invalid return type or parameter type
// method 'FetchComplete' not emitted because of invalid return type or parameter type
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -