VirtualPathHelperRegisterVirtualPath Method (String, VirtualPathHelperGetVirtualFileObjectHandler) |
Register callback method for specified virtual path.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax public static bool RegisterVirtualPath(
string relativePath,
VirtualPathHelperGetVirtualFileObjectHandler getObjectCallback
)
Parameters
- relativePath
- Type: SystemString
Relative path - getObjectCallback
- Type: CMS.IOVirtualPathHelperGetVirtualFileObjectHandler
GetVirtualFileObjectHandler callback method
Return Value
Type:
BooleanReturns true if path was registered successfully
See Also