Condividi tramite


CCachedDataPathProperty::CCachedDataPathProperty

Constructs a CCachedDataPathProperty object.

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

Parameters

  • pControl
    A pointer to the ActiveX control object to be associated with this CCachedDataPathProperty object.

  • lpszPath
    The path, which may be absolute or relative, used to create an asynchronous moniker that references the actual absolute location of the property. CCachedDataPathProperty uses URLs, not filenames. If you want a CCachedDataPathProperty object for a file, prepend file:// to the path.

Remarks

The COleControl object pointed to by pControl is used by Open and retrieved by derived classes. If pControl is NULL, the control used with Open should be set with SetControl. If lpszPath is NULL, you can pass in the path through Open or set it with SetPath.

Requirements

Header: afxctl.h

See Also

Reference

CCachedDataPathProperty Class

Hierarchy Chart

CDataPathProperty Class