Click or drag to resize
VirtualContextLoadVirtualContextValues Method
Handles the virtual context prefixes in the URL.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool LoadVirtualContextValues(
	ref string relativePath
)

Parameters

relativePath
Type: SystemString
Current relative path. If loading succeeded, returns updated virtual path without the context values.

Return Value

Type: Boolean
True, if loading of the virtual context succeeded and the request is a virtual context request, otherwise false.
Exceptions
ExceptionCondition
InvalidVirtualContextExceptionWhen post back under preview link is made -or- link is invalid.
See Also