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
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.