CCachedDataPathProperty::CCachedDataPathProperty

构造 CCachedDataPathProperty 对象。

CCachedDataPathProperty(
   COleControl* pControl = NULL
);
CCachedDataPathProperty(
   LPCTSTR lpszPath,
   COleControl* pControl = NULL
);

参数

  • pControl
    要关联的ActiveX控件对象的指针与此 CCachedDataPathProperty 对象。

  • lpszPath
    路径,这可能是绝对或相对,用于创建引用该属性的实际绝对位置的异步标记。CCachedDataPathProperty 使用URL,而不是文件名。如果希望文件的一 CCachedDataPathProperty 对象,请预置file://到路径。

备注

打开 使用 pControl 所指向的 COleControl 对象并由派生类检索。如果 pControl 是 NULL,应将控件用于 OpenSetControl。如果 lpszPath 是 NULL,可以在路径都 Open 或设置为与 SetPath

要求

Header: afxctl.h

请参见

参考

CCachedDataPathProperty选件类

层次结构图

CDataPathProperty选件类