HtmlTextWriter.EndTagLeftChars 필드

정의

태그 요소에서 닫는 태그의 왼쪽 꺾쇠 괄호와 슬래시 표시(</)를 나타냅니다.

public: System::String ^ EndTagLeftChars;
public const string EndTagLeftChars;
val mutable EndTagLeftChars : string
Public Const EndTagLeftChars As String 

필드 값

예제

다음 코드 예제에서는 사용 하 여 EndTagLeftChars 태그 요소의 닫는 태그를 <table> 렌더링 하는 방법을 보여 줍니다 합니다 및 TagRightChar 메서드에 대 한 호출 Write 에서 매개 변수 값으로 필드입니다.

이 코드 예제에서는 다음 태그를 렌더링합니다.

</table>

// Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars);
writer.Write("table");
writer.Write(HtmlTextWriter.TagRightChar);
writer.WriteLine();
' Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars)
writer.Write("table")
writer.Write(HtmlTextWriter.TagRightChar)
writer.WriteLine()

설명

EndTagLeftChars 필드는 메서드에서 RenderBeginTag 태그 요소 끝 태그를 생성하는 데 사용됩니다.

적용 대상

추가 정보