sodatasets.cpp
来自「用VC+SuperMap开发的校园GIS系统」· C++ 代码 · 共 49 行
CPP
49 行
// 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 "sodatasets.h"
// Dispatch interfaces referenced by this interface
#include "sodataset.h"
/////////////////////////////////////////////////////////////////////////////
// CsoDatasets properties
long CsoDatasets::GetCount()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CsoDatasets::SetCount(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoDatasets operations
CsoDataset CsoDatasets::GetItem(const VARIANT& Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
&Index);
return CsoDataset(pDispatch);
}
void CsoDatasets::SetRefItem(const VARIANT& Index, LPDISPATCH newValue)
{
static BYTE parms[] =
VTS_VARIANT VTS_DISPATCH;
InvokeHelper(0x0, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
&Index, newValue);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?