Collection of INativeHandleContract Possible?

Jan 29, 2009 at 4:11 AM
Hi All.

Is is possible to pass a collection of custom user controls from an AddIn to a Host using IListContract<INativeHandleContract>? If not, are there any suggestions on how I might achieve the same sort of functionality? (I am developing a Partial Trust XBAP application.)

Thanks for any assistance.


public interface IMyAddIn : IContract
    IListContract<IMyCustomControl> Controls { get; }

public interface IMyCustomControl : INativeHandleControl
    void CustomMethod();