AcMapIENameValueIterator:: Add Method
Inserts a new element into the collection after the current element and advances the iterator to the new element. After adding a new element successfully, call Rewind()to iterate over the entire collection.
virtual AcMapIE::ErrCode Add( const ACHAR* pszName, const ACHAR* pszValue ) = 0;
Parameters |
Description |
pszName |
Input name of the name-value pair to add. |
pszValue |
Input value of the name-value pair to add. |
Returns
Returns AcMapIE::ErrCode kErr_OK if successful. Returns AcMapIE::ErrCode kErr_BadParams if either input string is NULL or empty. Returns AcMapIE::ErrCode kErr_BadFieldName if the input name is invalid. Returns AcMapIE::ErrCode kErr_Fail if the case-insensitive input name already exists in the collection.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].