WmlMobileTextWriter.RenderImage(String, String, String, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
渲染一個影像元素。 這個 API 已經過時了。 有關如何開發 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
指定圖片網址。
- localSource
- String
指定一個可選的本地影像名稱。
- alternateText
- String
指定若無法顯示影像時需顯示的文字。
- breakAfter
- Boolean
如果圖片後需要休息,則設定為true