Solid Edge Assembly Type Library
AddInsStorage Property
Description
Returns an IUnknown pointer to the object that implements the IStorage corresponding to the add-in substorage for the referenced object.
Property type
Read-only property
Syntax
Visual Basic
Public Property AddInsStorage( _
   ByVal Name As String, _
   ByVal grfMode As Long _
) As Unknown
Parameters
Name
grfMode
Remarks
Use this property to obtain a private, dedicated sub-storage for your add-in within the referenced document. The sub-storage is created or opened with the Name that you supply. The argument grfMode can be specified as NULL. If it is specified as NULL, the sub-storage is opened or created with the following flags taken from the standard STGM enumerator (see Windows API Help for more information): STGM_DIRECT | STGM_READWRITE | STGM_SHARE_EXCLUSIVE. If you supplied a non-NULL grfMode, the storage is opened or created explicitly with the specified mode. The AddinsStorage property returns the IUnknown pointer to the object that implements the IStorage that corresponds to the add-in's sub-storage. Typically, an add-in would write into its storage when it receives the referenced document's BeforeSave event. You can create as many sub-storages or streams within the storage returned to you, but you must release all pointers to the sub-storages and streams, including the dedicated sub-storage returned to your add-in by this property, before you return control to Solid Edge. These pointers may be invalid after the BeforeSave event. However, you can obtain this storage again at any time later.
See Also

AssemblyDocument Object  | AssemblyDocument Members