HierarchicalDataSourceControl.HasControls 方法

定義

判斷伺服器控制項是否包含任何子控制項。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

傳回

Boolean

如果控制項包含其他控制項,則為 true,否則為 falsetrue if the control contains other controls; otherwise, false.

適用於