Click or drag to resize
ICoreRegisterSiteVar Method
Registers a site variable under a specific name.

Namespace: Landis.Core
Assembly: Landis.Core (in Landis.Core.dll) Version: 6.1.5452.26346
Syntax
void RegisterSiteVar(
	ISiteVariable siteVar,
	string name
)

Parameters

siteVar
Type: ISiteVariable
The site variable being registered.
name
Type: SystemString
The name under which the site variable is to be registered.
Exceptions
ExceptionCondition
ArgumentNullException At least one of the parameters is null.
ApplicationException Another site variable has been previously registered with the same name.
See Also