HtmlTextWriter.IsAttributeDefined Method (HtmlTextWriterAttribute, String)
.NET Framework 2.0
Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected: bool IsAttributeDefined ( HtmlTextWriterAttribute key, [OutAttribute] String^% value )
protected boolean IsAttributeDefined ( HtmlTextWriterAttribute key, /** @attribute OutAttribute() */ /** @ref */ String value )
Not applicable.
Parameters
- key
The HtmlTextWriterAttribute associated with the markup attribute.
- value
The value assigned to the attribute.
Return Value
true if the attribute is rendered during the next call to the RenderBeginTag method; otherwise, false.Community Additions
ADD
Show: