Use this on your properties (this is an example for the mail property)
If de.Properties.Contains("mail") Then'use mail now'de.Properties["mail"][0] = ...Else'Do something elseEnd If