Custom property bag component, which stores custom properties. Every component that derives from IAcSmComponent has a GetCustomPropertyBag method. This method returns the property bag of the component.
Share
AcSmCustomPropertyBag (SSO)
Topics in this section
- AcSmCustomPropertyBag.Clear Method (SSO)
Resets and cleans up the object, leaving the object uninitialized. - AcSmCustomPropertyBag.GetDatabase Method (SSO)
Retrieves the parent IAcSmDatabase object. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmCustomPropertyBag.GetDirectlyOwnedObjects Method (SSO)
Returns an array of the directly owned objects. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmCustomPropertyBag.GetIsDirty Method (SSO)
If VARIANT_TRUE is returned, then the persistable component was modified and is committed when the owner AcSmDatabase is unlocked. - AcSmCustomPropertyBag.GetObjectId Method (SSO)
Retrieves the IAcSmObjectId of the object. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmCustomPropertyBag.GetOwner Method (SSO)
Retrieves a pointer to the owning IAcSmPersist parent object. - AcSmCustomPropertyBag.GetProperty Method (SSO)
Retrieves the IAcSmCustomPropertyValue specified with the Name parameter. If the method succeeds, the return value is S_OK. If the custom property value cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmCustomPropertyBag.GetPropertyEnumerator Method (SSO)
Returns an enumerator of all the contained properties. After an element is returned using the Next method, you can perform operations on it. - AcSmCustomPropertyBag.GetTypeName Method (SSO)
Retrieves the descriptive name representing the coclass. This method is used mainly by the filer. - AcSmCustomPropertyBag.InitNew Method (SSO)
Initialization of a newly created persistable object. This method and the Load method are the only two ways to initialize a persistable component. - AcSmCustomPropertyBag.Load Method (SSO)
This API was designed for internal use and has not been thoroughly tested. - AcSmCustomPropertyBag.Save Method (SSO)
This API was designed for internal use and has not been thoroughly tested. - AcSmCustomPropertyBag.SetOwner Method (SSO)
Sets the owner property of the IAcSmPersist object. The owning object should have a direct reference to this object. - AcSmCustomPropertyBag.SetProperty Method (SSO)
Sets the IAcSmCustomPropertyValue specified with the Name parameter.
Related Reference
- Add Custom Data (SSO)
- AcSmCustomPropertyBag.Clear Method (SSO)
- AcSmCustomPropertyBag.GetDatabase Method (SSO)
- AcSmCustomPropertyBag.GetDirectlyOwnedObjects Method (SSO)
- AcSmCustomPropertyBag.GetIsDirty Method (SSO)
- AcSmCustomPropertyBag.GetObjectId Method (SSO)
- AcSmCustomPropertyBag.GetOwner Method (SSO)
- AcSmCustomPropertyBag.GetProperty Method (SSO)
- AcSmCustomPropertyBag.GetPropertyEnumerator Method (SSO)
- AcSmCustomPropertyBag.GetTypeName Method (SSO)
- AcSmCustomPropertyBag.InitNew Method (SSO)
- AcSmCustomPropertyBag.Load Method (SSO)
- AcSmCustomPropertyBag.Save Method (SSO)
- AcSmCustomPropertyBag.SetOwner Method (SSO)
- AcSmCustomPropertyBag.SetProperty Method (SSO)