Represents a property value that is shared among all ActiveX component instances in a EAServer package.
Use the ISharedPropertyGroup methods to create or retrieve ISharedProperty objects.
A shared property can be assigned any value that can be represented by an ActiveX VARIANT structure. However, VARIANT values with the VT_BYREF bit set are not allowed.
ISharedPropertyGroup interface, ISharedPropertyGroupManager interface
Retrieves a shared property value.
#include <jagctx.h> #include <JagSharedProp.h> HRESULT ISharedProperty::get_Value ( VARIANT* pValue );
The address of a VARIANT structure to which the property’s current value is copied.
Return value |
To indicate |
---|---|
S_OK |
Successful retrieval of the property. |
E_INVALIDARG |
pValue was NULL. |
Sets a shared property value.
#include <jagctx.h> #include <JagSharedProp.h> HRESULT ISharedProperty::put_Value ( VARIANT newValue );
A VARIANT structure containing the new value for the property.
Return value |
To indicate |
---|---|
S_OK |
Successful retrieval of the property. |
E_INVALIDARG |
The VT_BYREF bit is set in the VARIANT that was passed as newValue. |
DISP_E_ARRAYISLOCKED |
The VARIANT that was passed as newValue contains an array that is locked. |
DISP_E_BADVARTYPE |
The VARIANT that was passed as newValue contains an invalid type. |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |