/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// #pragma once #include "helpers.h" #using using namespace System; class MAPIProp; namespace EMAPILib { public __gc class MAPIPropImpl : public Disposable, public IEMAPIProp { private: MAPIProp* _eMAPIProp; public: MAPIPropImpl( MAPIProp* eMAPIProp ); virtual ~MAPIPropImpl(); String* GetBinProp( int tag ); ArrayList* GetBinArray( int tag ); ArrayList* GetStringArray( int tag ); DateTime GetDateTimeProp( int tag ); int GetLongProp( int tag ); int GetLongProp( int tag, bool retError ); bool GetBoolProp( int tag ); String* GetStringProp( int tag ); void SetStringArray( int tag, ArrayList* value ); int GetIDsFromNames( System::Guid* gcGUID, String* name, int propType ); int GetIDsFromNames( System::Guid* gcGUID, int lID, int propType ); void SetDateTimeProp( int tag, DateTime value ); void SetStringProp( int tag, String* value ); void SetLongProp( int tag, int value ); void SetBoolProp( int tag, bool value ); void WriteStringStreamProp( int tag, String* propValue ); void SaveChanges(); void DeleteProp( int tag ); protected: void CopyTo( LPCIID lpInterface, IEMAPIProp* destMAPIObj ); }; }