XhtmlControlAdapter.ConditionalClearCachedEndTag 方法

定义

如果满足某些条件,则清除给定文本编写器的当前结束标记。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

protected:
 virtual void ConditionalClearCachedEndTag(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ s);
protected virtual void ConditionalClearCachedEndTag(System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string s);
abstract member ConditionalClearCachedEndTag : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
override this.ConditionalClearCachedEndTag : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
Protected Overridable Sub ConditionalClearCachedEndTag (writer As XhtmlMobileTextWriter, s As String)

参数

writer
XhtmlMobileTextWriter

XhtmlMobileTextWriter用于在客户端的浏览器中呈现服务器控件内容的对象。

s
String

要清除的标记的名称;该值可以是 null 空字符串或空字符串(“)。

注解

只有在目标设备非常罕见的情况下,才需要此功能,其中所选元素不能出现在表中。 如果提供了该 s 参数,则清除缓存的结束标记。 这样,当目标设备在表格末尾后立即不支持 <select> 元素时,文本编写器可以插入内容。

此方法主要供 .NET Framework 在内部使用。

适用于

另请参阅