HtmlEmptyTagControlBuilder.HasBody 메서드

정의

컨트롤을 사용하여 빌드된 컨트롤에 HtmlEmptyTagControlBuilder 닫는 태그가 없음을 나타냅니다.

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

반품

false 모든 경우에 해당합니다.

설명

클래스는 닫는 태그가 없는 컨트롤을 나타내므로 메서드는 HasBody 항상 반환 HasBodyfalse 하도록 기본 클래스의 메서드를 재정의 HtmlEmptyTagControlBuilder 합니다. 클래스의 HasBody 메서드는 ControlBuilder 컨트롤에 여는 태그와 닫는 태그가 둘 다 있는지 여부를 결정합니다.

적용 대상

추가 정보