MobileControl.AddLinkedForms(IList) 方法


向所提供的列表添加一组包含指定控件链接的窗体。Adds the set of forms that contains links to the specified control to the provided list. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

 virtual void AddLinkedForms(System::Collections::IList ^ linkedForms);
public virtual void AddLinkedForms (System.Collections.IList linkedForms);
abstract member AddLinkedForms : System.Collections.IList -> unit
override this.AddLinkedForms : System.Collections.IList -> unit
Public Overridable Sub AddLinkedForms (linkedForms As IList)



包含到指定控件的链接的一组窗体。The set of forms that contain links to the specified control.


如果某个窗体包含的导航元素激活其他窗体,而不与服务器交互,则将其视为链接窗体。When a form contains navigation elements that activate another form without interaction from the server, it is considered a linked form. 有几个条件可将窗体视为已链接。There are several criteria for a form to be considered linked. 例如,如果满足以下三个条件,则窗体 B 被视为链接到窗体 A:For example, if the following three conditions are met, Form B is considered to be linked to Form A:

  • 窗体 A 包含其目标为窗体 B 的 LinkForm A contains a Link with its destination as Form B.

  • 窗体 A 不包含 OnDeactivate 事件处理程序。Form A does not contain an OnDeactivate event handler.

  • 窗体 B 没有 OnActivate 事件处理程序。Form B has no OnActivate event handler.

基实现不执行任何操作,但其他控件(如 Link)会重写默认实现。The base implementation does nothing, but other controls, such as the Link, override the default implementation.