Click or drag to resize
VirtualContextLoadVirtualContextValues Method
Loads the virtual context values from the URL into a NameValueCollection.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static NameValueCollection 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: NameValueCollection
Object containing parsed values, if loading of the virtual context succeeded and the request is a virtual context request, otherwise null.
Exceptions
ExceptionCondition
InvalidVirtualContextExceptionWhen post back under preview link is made -or- link is invalid.
See Also