public static T BindToHandler <T>(this IShellItem2 psi, IBindCtx pbc, Guid bhid) where T : class { return((T)psi.BindToHandler(pbc, bhid, typeof(T).GUID)); }