GetValue method

Returns an extension-specific parameter.

Name/value pairs can be stored on the extension's custom context across requests if the IERUCustomContext::IsPersistent property is TRUE. (The context is stored on the user session.)

Syntax


C++
HRESULT GetValue(
   BSTR Name,
   VARIANT Default,
   
VARIANT* pValue)
Scripting languages
Parameter = Object.GetValue(
   Name as BSTR,
   Default as Variant
)

Parameters


Name

The name of the value to be retrieved.

Default

Optional default value to be used if Name is not found. If Name is not found and no Default value is specified, a NOT_FOUND error is returned.

pValue

Upon return, the retrieved value.

Return value


C++

The return code.

Scripting languages

Upon return, the retrieved value.

Home

Applies to

IERUCustomParameters