ISessionObject::get_Contents

The ISessionObject::get_Contents method retrieves the value of the Contents property.

HRESULT get_Contents(

  IVariantDictionary **ppProperties // IVariantDictionary interface

              // pointer that receives the

              // Contents collection

);

 

Parameters
ppProperties
[retval] [out] Points to an IVariantDictionary interface pointer that receives the Contents collection.
Remarks

The SessionContents collection contains all variables and objects that have been given application scope with the Server.CreateObject command. You can iterate through the Contents collection with the get__NewEnum method exposed by the IVariantDictionary interface. You can also retrieve a specific member of the collection with the get_Item method.

See Also

Session Object, IVariantDictionary