FindItemsResults<Item> fiResults = fFolders.getFolders().get(0).findItems(cntSearch, iv);
for (Item item : fiResults.getItems()) {
try {
Object wLinkAddressBookEID = null;
item.tryGetProperty(extendedPropertyDefinition,(OutParam<Object>)wLinkAddressBookEID);
byte[] ssStoreID = (byte[]) wLinkAddressBookEID;
例外:
java.lang.ClassCastException: microsoft.exchange.webservices.data.property.definition.ExtendedPropertyDefinition 无法施展 microsoft.exchange.webservices.data.property.definition.PropertyDefinition 在 microsoft.exchange.webservices.data.core.service.ServiceObject.tryGetProperty(ServiceObject.java:455) 在 microsoft.exchange.webservices.data.core.service.ServiceObject.tryGetProperty(ServiceObject.java:441)