WebPartMobileAdapter.CreateWebPartIconAdv 方法
返回 web 部件的图标。为普通图像、 摘要/细节视图页上,指向链接或链接以触发展开/折叠呈现图标。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
)
参数
linkType
类型:Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.WebPartIconLink图标的导航链接的类型 (LinkToSummaryView |LinkToDetailView |NoLink)。
返回值
类型:System.Web.UI.WebControls.Image
备注
仅应 CreateControlsForSummaryView() 或 CreateControlsForDetailView() 中调用此方法。