GetSetting method

Returns an IERUExtensionSetting interface pointer for a given extension from this scope.

Extension settings can be created or retrieved from the scope using GetSettings. Note that inappropriate settings at a lower level will be ignored if invalidated by a higher level.  For example, if an extension is configured as "Always Off" for the entire site, and you add settings to enable the extension at a lower level, the settings will be ignored. The effective availability and enabled state of an extension always takes into account parent availability.

Syntax


C++

HRESULT GetSetting(
   VARIANT Extension,
   IERUExtensionSetting ppSetting)

Scripting languages

Set scopedSetting = Object.GetSetting(Extension as VARIANT)

Parameters


Extension

IERUExtension or string ID of the extension to be referenced.

ppSetting

Upon return, the new extension reference.

Return value


C++

The return code.

Scripting languages

Upon return, the new extension reference.

 

Home

Applies to

IERUExtensionSettingManager