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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.