Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

ISessionObject::putref_Value

The ISessionObject::putref_Value method stores a COM object in the Session object. This method is equivalent to ISessionObject::put_Value for non-COM objects.

HRESULT putref_Value(

BSTR bstrValue,

VARIANT var

);

Parameters: ISessionObject::putref_Value

bstrValue

A binary string that contains the new variable name.

var

A variant to store in the variable.

Remarks: ISessionObject::putref_Value

Before you store an object in the Session object, you should know what threading model it uses. For more information, see the Scope and Threading topics.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.