Chapter 2 ActiveX C++ Interface Reference
Represents a property value that is shared among all ActiveX component instances in a Jaguar 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
Retrieve a shared property value.
#include <jagctx.h>
#include <JagSharedProp.h>
HRESULT ISharedProperty::get_Value (
VARIANT* pValue
);
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. |
Set a shared property value.
#include <jagctx.h>
#include <JagSharedProp.h>
HRESULT ISharedProperty::put_Value (
VARIANT newValue
);
newValue
A VARIANT structure containing the new value for the property.
Copyright © 2000 Sybase, Inc. All rights reserved. |
![]() |