WebPart.WebPartMenu property
取得或設定呈現的網頁組件] 功能表中來源的網頁組件圖文框中。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Friend Property WebPartMenu As Menu
Get
Set
'用途
Dim value As Menu
value = Me.WebPartMenu
Me.WebPartMenu = value
protected internal Menu WebPartMenu { get; set; }
Property value
Type: Microsoft.SharePoint.WebPartPages.Menu
定義 [網頁組件] 功能表的來源Menu物件。根據預設,此屬性會傳回 [預設] 功能表。
備註
如果WebPartMenu屬性設為a null reference (Nothing in Visual Basic),功能表不會呈現網頁組件圖文框中。