php-ews
php-ews copied to clipboard
C#.net code to php-ews code
Hi,
Good day! Is there a way to do like this C# code on php-ews? see below codes
ItemView itemView = new ItemView(int.MaxValue); var extField1 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "extField1", MapiPropertyType.String); var extField2 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "extField2", MapiPropertyType.String); var userFields = new ExtendedPropertyDefinition[] { extField1, extField2 }; itemView.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties, userFields); FindItemsResults<Item> searchResults = service.FindItems(folder.Id, itemView );
BTW, this is to get the UserProperties or ExtendedProperty.
Thank you in advance