📄 sodatasetinfo.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 "sodatasetinfo.h"
// Dispatch interfaces referenced by this interface
#include "sorect.h"
/////////////////////////////////////////////////////////////////////////////
// CsoDatasetInfo properties
CString CsoDatasetInfo::GetName()
{
CString result;
GetProperty(0x1, VT_BSTR, (void*)&result);
return result;
}
void CsoDatasetInfo::SetName(LPCTSTR propVal)
{
SetProperty(0x1, VT_BSTR, propVal);
}
long CsoDatasetInfo::GetType()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
void CsoDatasetInfo::SetType(long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}
CsoRect CsoDatasetInfo::GetBounds()
{
LPDISPATCH pDispatch;
GetProperty(0x3, VT_DISPATCH, (void*)&pDispatch);
return CsoRect(pDispatch);
}
void CsoDatasetInfo::SetBounds(LPDISPATCH propVal)
{
SetProperty(0x3, VT_DISPATCH, propVal);
}
long CsoDatasetInfo::GetCharset()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}
void CsoDatasetInfo::SetCharset(long propVal)
{
SetProperty(0x4, VT_I4, propVal);
}
long CsoDatasetInfo::GetEncode()
{
long result;
GetProperty(0x5, VT_I4, (void*)&result);
return result;
}
void CsoDatasetInfo::SetEncode(long propVal)
{
SetProperty(0x5, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoDatasetInfo operations
BOOL CsoDatasetInfo::GetOptions(long nOption)
{
BOOL result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
nOption);
return result;
}
void CsoDatasetInfo::SetOptions(long nOption, BOOL bNewValue)
{
static BYTE parms[] =
VTS_I4 VTS_BOOL;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nOption, bNewValue);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -