The base persistence interface used by an AcSmDatabase database.
Share
IAcSmPersist (SSO)
Topics in this section
- IAcSmPersist.Clear Method (SSO)
Resets and cleans up the object, leaving the object uninitialized. - IAcSmPersist.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. - IAcSmPersist.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. - IAcSmPersist.GetIsDirty Method (SSO)
If VARIANT_TRUE is returned, then the persistable component was modified and is committed when the owner AcSmDatabase is unlocked. - IAcSmPersist.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. - IAcSmPersist.GetOwner Method (SSO)
Retrieves a pointer to the owning IAcSmPersist parent object. - IAcSmPersist.GetTypeName Method (SSO)
Retrieves the descriptive name representing the coclass. This method is used mainly by the filer. - IAcSmPersist.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. - IAcSmPersist.Load Method (SSO)
This API was designed for internal use and has not been thoroughly tested. - IAcSmPersist.Save Method (SSO)
Saves the object to the provided filer. This method is called when the component needs to be serialized using an IAcSmFilerIAcSmFiler object. - IAcSmPersist.SetOwner Method (SSO)
Sets the owner property of the IAcSmPersist object. The owning object should have a direct reference to this object.
Related Reference
- Guidelines for Modifying a Sheet Set (SSO)
- IAcSmPersist.Clear Method (SSO)
- IAcSmPersist.GetDatabase Method (SSO)
- IAcSmPersist.GetDirectlyOwnedObjects Method (SSO)
- IAcSmPersist.GetIsDirty Method (SSO)
- IAcSmPersist.GetObjectId Method (SSO)
- IAcSmPersist.GetOwner Method (SSO)
- IAcSmPersist.GetTypeName Method (SSO)
- IAcSmPersist.InitNew Method (SSO)
- IAcSmPersist.Load Method (SSO)
- IAcSmPersist.Save Method (SSO)
- IAcSmPersist.SetOwner Method (SSO)