共用方式為


CDataPathProperty::SetPath

Call this member function to set the pathname of the property.

void SetPath(
   LPCTSTR lpszPath 
);

Parameters

  • lpszPath
    A path, which may be absolute or relative, to the property being loaded asynchronously. CDataPathProperty uses URLs, not filenames. If you want a CDataPathProperty object for a file, prepend file:// to the path.

Requirements

Header: afxctl.h

See Also

Reference

CDataPathProperty Class

Hierarchy Chart

CDataPathProperty::GetPath

CDataPathProperty::SetControl

CDataPathProperty::CDataPathProperty

Other Resources

CDataPathProperty Members