DataSourceControl.HasControls DataSourceControl.HasControls DataSourceControl.HasControls DataSourceControl.HasControls Method

定义

确定服务器控件是否包含任何子控件。Determines if the server control contains any child controls.

public:
 override bool HasControls();
public override bool HasControls ();
override this.HasControls : unit -> bool
Public Overrides Function HasControls () As Boolean

返回

如果控件包含其他控件,则为 true;否则为 falsetrue if the control contains other controls; otherwise, false.

适用于