Click or drag to resize
ICoreGetSiteVarT Method
Gets a site variable with a specific name and data type.

Namespace: Landis.Core
Assembly: Landis.Core (in Landis.Core.dll) Version: 6.1.5452.26346
Syntax
ISiteVar<T> GetSiteVar<T>(
	string name
)

Parameters

name
Type: SystemString
The name under which the site variable is registered.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Landis.Core.ICore.GetSiteVar``1(System.String)"]

Return Value

Type: ISiteVarT
The site variable that was registered under the given name, or null if no site variable has been registered under the name.
Exceptions
ExceptionCondition
ArgumentNullException name is null.
ApplicationException The site variable registered with the given name has a different data type.
See Also