ChtmlTextWriter.OnTagRender(String, HtmlTextWriterTag) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified cHTML markup element is rendered to the requesting page.
protected:
override bool OnTagRender(System::String ^ name, System::Web::UI::HtmlTextWriterTag key);
protected override bool OnTagRender (string name, System.Web.UI.HtmlTextWriterTag key);
override this.OnTagRender : string * System.Web.UI.HtmlTextWriterTag -> bool
Protected Overrides Function OnTagRender (name As String, key As HtmlTextWriterTag) As Boolean
Parameters
- name
- String
A string containing the name of the cHTML element to render.
The HtmlTextWriterTag associated with name
.
Returns
true
if the specified cHTML markup element can be rendered; otherwise, false
.
Remarks
If the cHTML element is a span
element, the OnTagRender method returns false
. For all other tags, it returns true
.
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET