WmlMobileTextWriter.RenderImage(String, String, String, Boolean) 方法
定义
呈现一个图像元素。Renders an image element. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual void RenderImage(System::String ^ source, System::String ^ localSource, System::String ^ alternateText, bool breakAfter);
public virtual void RenderImage (string source, string localSource, string alternateText, bool breakAfter);
abstract member RenderImage : string * string * string * bool -> unit
override this.RenderImage : string * string * string * bool -> unit
Public Overridable Sub RenderImage (source As String, localSource As String, alternateText As String, breakAfter As Boolean)
参数
- source
- String
指定图像 URL。Specifies the image URL.
- localSource
- String
指定一个可选的本地图像名称。Specifies an optional local image name.
- alternateText
- String
指定在图像无法显示时要显示的文本。Specifies text to display if the image cannot be displayed.
- breakAfter
- Boolean
如果图像后需要一个分行符,则设置为 true。Set to true if a break is required after the image.