Type Library |
JAGSHAREDPROPLib |
ProgID |
Jaguar.SharedPropertyGroup |
Represents a group of properties that are shared by all ActiveX components in a EAServer package. Contains methods to create, access, and destroy shared properties.
CreateProperty – Creates a new shared property by name.
CreatePropertyByPosition – Creates a new shared property by position.
Property – Retrieves a reference to a named property.
PropertyByPosition – Retrieves a reference to an indexed property.
Call the SharedPropertyGroupManager methods to create a new SharedPropertyGroup object or to obtain a reference to an existing property group.
Property groups can be shared only among components that are installed in the same EAServer package.
SharedProperty interface, SharedPropertyGroupManager interface
Creates a new shared property by name.
Dim myProp as JAGSHAREDPROPLib.SharedProperty myProp = SharedPropertyGroup.CreateProperty ( ByVal propertyName as String, alreadyExisted as Boolean)
A variable to receive the SharedProperty interface pointer. On return, the variable is a SharedProperty that accesses the property, or NULL if an error occurred.
Specifies the name by which the property is referred.
A Boolean variable passed by reference. On output, set to TRUE if the group existed before the call, and FALSE otherwise.
CreateProperty creates named properties that can be retrieved with the Property method. Properties can be referenced either by name or by position but not by both.
Newly created properties are set to a default value, which is a VARIANT of type VT_I4 (4-byte integer), with a value of 0.
Call CreatePropertyByPosition to create indexed properties (retrieved with PropertyByPosition).
CreatePropertyByPosition, Property, PropertyByPosition, SharedProperty interface
Creates a new shared property by position.
Dim myProp as JAGSHAREDPROPLib.SharedProperty myProp = SharedPropertyGroup.CreatePropertyByPosition( ByVal position as Integer, alreadyExisted as Boolean)
A variable to receive the SharedProperty interface pointer. On return, the variable is a SharedProperty that accesses the property, or NULL if an error occurred.
The integer index by which the property is referred.
A Boolean variable passed by reference. On output, set to TRUE if the group existed before the call, and FALSE otherwise.
CreatePropertyByPosition creates indexed properties that can be retrieved with the PropertyByPosition method. Properties can be referenced either by name or by position but not by both.
Newly created properties are set to a default value, which is a VARIANT of type VT_I4 (4-byte integer), with a value of 0.
Call CreateProperty to create named properties (retrieved with Property).
CreateProperty, Property, PropertyByPosition
Retrieves a reference to a named property.
Dim myProp as JAGSHAREDPROPLib.SharedProperty myProp = SharedPropertyGroup.CreateProperty( ByVal name as String)
A variable to receive the SharedProperty interface pointer. On return, the variable is set to a SharedProperty that accesses the property, or NULL if an error occurred.
The name of the property to be retrieved.
Named properties are created with the CreateProperty method.
Property fails if the requested property has not been created. Call CreateProperty when you are not sure whether a property exists yet. CreateProperty retrieves existing properties or creates them if they do not already exist.
CreateProperty, CreatePropertyByPosition, PropertyByPosition
Retrieves a reference to an indexed property.
Dim myProp as JAGSHAREDPROPLib.SharedProperty myProp = SharedPropertyGroup.PropertyByPosition( ByVal position as Integer)
A variable to receive the SharedProperty interface pointer. Set to a SharedProperty that accesses the property or NULL if an error occurred.
The index of the property to be retrieved.
Indexed properties are created with the CreatePropertyByPosition method.
PropertyByPosition fails if the requested property has not been created. Call CreatePropertyByPosition when you are not sure whether a property exists yet. CreatePropertyByPosition retrieves existing properties or creates them if they do not already exist.
CreateProperty, CreatePropertyByPosition, Property
Copyright © 2005. Sybase Inc. All rights reserved. |