SetValue method

For IERUCustomParameters, saves a VARIANT value under a name. 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.)

For IERUTicket, sets name/value pairs for use when processing a ticket. Name/value pairs are stored on the ticket and copied to the user's session when the ticket is validated. Use IERUSession::GetSessionValue() to get these copied values.

Syntax


C++
HRESULT SetValue(
   BSTR Name,
   VARIANT Value)
Scripting languages
Parameter = Object.SetValue(
   Name as BSTR,
   Value as Variant
)

Parameters


Name

The name of the value to set.

Value

The value to be stored.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUCustomParameters

IERUTicket