SiteMapPath.CreateChildControls 方法

定义

清除当前子控件集合,并通过调用 CreateControlHierarchy() 方法重新生成它。

protected public:
 override void CreateChildControls();
protected internal override void CreateChildControls ();
override this.CreateChildControls : unit -> unit
Protected Friend Overrides Sub CreateChildControls ()

注解

此方法由 ASP.NET 基础结构调用,以通知任何使用基于组合的实现的控件,包括派生自 CompositeDataBoundControl 的控件,并 CompositeControl 创建它们包含的任何子控件,以准备回发或呈现。

适用于

另请参阅