?? soquerydef.cpp
字號:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "soquerydef.h"
// Dispatch interfaces referenced by this interface
#include "sostrings.h"
#include "sorelquerytableinfos.h"
#include "sogeometry.h"
#include "sorect.h"
#include "solongarray.h"
/////////////////////////////////////////////////////////////////////////////
// CsoQueryDef properties
long CsoQueryDef::GetQueryType()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CsoQueryDef::SetQueryType(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
BOOL CsoQueryDef::GetHasGeometry()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CsoQueryDef::SetHasGeometry(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
BOOL CsoQueryDef::GetFuzzy()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CsoQueryDef::SetFuzzy(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
CString CsoQueryDef::GetFilter()
{
CString result;
GetProperty(0x4, VT_BSTR, (void*)&result);
return result;
}
void CsoQueryDef::SetFilter(LPCTSTR propVal)
{
SetProperty(0x4, VT_BSTR, propVal);
}
CString CsoQueryDef::GetSortClause()
{
CString result;
GetProperty(0x5, VT_BSTR, (void*)&result);
return result;
}
void CsoQueryDef::SetSortClause(LPCTSTR propVal)
{
SetProperty(0x5, VT_BSTR, propVal);
}
CString CsoQueryDef::GetGroupClause()
{
CString result;
GetProperty(0x6, VT_BSTR, (void*)&result);
return result;
}
void CsoQueryDef::SetGroupClause(LPCTSTR propVal)
{
SetProperty(0x6, VT_BSTR, propVal);
}
CsoStrings CsoQueryDef::GetFields()
{
LPDISPATCH pDispatch;
GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch);
return CsoStrings(pDispatch);
}
void CsoQueryDef::SetFields(LPDISPATCH propVal)
{
SetProperty(0x7, VT_DISPATCH, propVal);
}
CsoRelQueryTableInfos CsoQueryDef::GetRelTables()
{
LPDISPATCH pDispatch;
GetProperty(0x8, VT_DISPATCH, (void*)&pDispatch);
return CsoRelQueryTableInfos(pDispatch);
}
void CsoQueryDef::SetRelTables(LPDISPATCH propVal)
{
SetProperty(0x8, VT_DISPATCH, propVal);
}
CsoGeometry CsoQueryDef::GetGeometry()
{
LPDISPATCH pDispatch;
GetProperty(0x9, VT_DISPATCH, (void*)&pDispatch);
return CsoGeometry(pDispatch);
}
void CsoQueryDef::SetGeometry(LPDISPATCH propVal)
{
SetProperty(0x9, VT_DISPATCH, propVal);
}
CsoRect CsoQueryDef::GetBounds()
{
LPDISPATCH pDispatch;
GetProperty(0xa, VT_DISPATCH, (void*)&pDispatch);
return CsoRect(pDispatch);
}
void CsoQueryDef::SetBounds(LPDISPATCH propVal)
{
SetProperty(0xa, VT_DISPATCH, propVal);
}
CsoLongArray CsoQueryDef::GetIDs()
{
LPDISPATCH pDispatch;
GetProperty(0xb, VT_DISPATCH, (void*)&pDispatch);
return CsoLongArray(pDispatch);
}
void CsoQueryDef::SetIDs(LPDISPATCH propVal)
{
SetProperty(0xb, VT_DISPATCH, propVal);
}
long CsoQueryDef::GetCursorType()
{
long result;
GetProperty(0xc, VT_I4, (void*)&result);
return result;
}
void CsoQueryDef::SetCursorType(long propVal)
{
SetProperty(0xc, VT_I4, propVal);
}
long CsoQueryDef::GetCursorLocation()
{
long result;
GetProperty(0xd, VT_I4, (void*)&result);
return result;
}
void CsoQueryDef::SetCursorLocation(long propVal)
{
SetProperty(0xd, VT_I4, propVal);
}
long CsoQueryDef::GetSpatialQueryMode()
{
long result;
GetProperty(0xe, VT_I4, (void*)&result);
return result;
}
void CsoQueryDef::SetSpatialQueryMode(long propVal)
{
SetProperty(0xe, VT_I4, propVal);
}
DATE CsoQueryDef::GetSequenceTime()
{
DATE result;
GetProperty(0x11, VT_DATE, (void*)&result);
return result;
}
void CsoQueryDef::SetSequenceTime(DATE propVal)
{
SetProperty(0x11, VT_DATE, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoQueryDef operations
CString CsoQueryDef::ToXML()
{
CString result;
InvokeHelper(0xf, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
return result;
}
BOOL CsoQueryDef::FromXML(LPCTSTR strXML)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x10, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
strXML);
return result;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -