共用方式為


WebPartMobileAdapter.CreateWebPartIconAdv method

傳回一個網頁組件的圖示。圖示會呈現為一般的映像、 摘要/詳細資料檢視] 頁面的連結或連結到觸發程序 collpase 展開。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected Function CreateWebPartIconAdv ( _
    linkType As WebPartMobileAdapter.WebPartIconLink _
) As Image
'用途
Dim linkType As WebPartMobileAdapter.WebPartIconLink
Dim returnValue As Image

returnValue = Me.CreateWebPartIconAdv(linkType)
protected Image CreateWebPartIconAdv(
    WebPartMobileAdapter.WebPartIconLink linkType
)

參數

傳回值

Type: System.Web.UI.WebControls.Image

備註

在 CreateControlsForSummaryView() 或 CreateControlsForDetailView() 時,應該只呼叫這個方法。

請參閱

參照

WebPartMobileAdapter class

WebPartMobileAdapter members

Microsoft.SharePoint.WebPartPages namespace