Deleted Items
public static object GetPropertyHelper(object targetObject, string
propertyName)
{
try
{
return targetObject.GetType().InvokeMember(propertyName,
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.GetProperty,
null,
targetObject,
null,
System.Globalization.CultureInfo.CurrentCulture);
}
catch(System.Exception ex)
{
GlobalConstants.Log(log, "Error", "GetPropertyHelper", ex);
return null;
}
}
and
object item =
this.OutlookApp.GetNamespace("MAPI").GetItemFromID (entryID, storeID);
Thanks so much.
Sue Mosher [MVP-Outlook] wrote:
How does GetPropertyHelper work? And how -- and when -- is Item instantiated?
|