Click or drag to resize

IGlobalVariablesCollection Methods


The IGlobalVariablesCollection type exposes the following members.

Methods
  Name Description
Public method AddVariable(IGlobalVariable) Adds a new global variable to the collection. This overload allows the global variable to be created and sets up all publishing target overrides first.
Public method AddVariable(String, String) Adds a new global variable and sets its global value.
Public method PublishGlobalVariables Publish global variables for given publishing target. This also applies to the publishing target override value for that publishing target.
Public method RemoveVariable Removes a global variable.
Public method Touch Updated the entity's LastModified value to the current time.
(Inherited from IEntity)
Public method ValidateData Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity)
Public method ValidateUserPermission Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity)
Public method Variable Retrieves a global variable by its name. The variable names are unique.
Top
See Also