C++
virtual Acad::ErrorStatus ProfileStorage( AcApProfileStorage*& pStore, const ACHAR * strProfileName, BOOL bCreateIfNotExists = TRUE ) = 0;
Description
Gets the AcApProfileStorage object associated with the specified profile. The AcApProfileStorage object represents the XML-based profile file. Profile information can be stored to the profile XML file using this object.
If the function succeeds, it returns eOk. If the profile name is not found or if the function fails, the return value is AutoCAD error status.
Parameters
Parameters | Description |
---|---|
pStore | Output reference to receive the profile storage object associated with the specified profile; set to null if the profile name is not found |
strProfileName | Input profile name for which to retrieve the associated profile storage |
bCreateIfNotExists | Input Boolean: if true, the function creates the profile storage if no profile is associated to the specified profile; if false, it does not create the profile storage if no storage is associated to the specified profile and it returns an error |