共用方式為


Menu.IsParent property

取得值,指出這個功能表是否包含任何功能表項目。這個屬性是唯讀的。

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

Syntax

'宣告
Public ReadOnly Property IsParent As Boolean
    Get
'用途
Dim instance As Menu
Dim value As Boolean

value = instance.IsParent
public bool IsParent { get; }

Property value

Type: System.Boolean
true如果功能表項目 ;否則, false。

備註

若要檢視程式碼範例示範如何使用IsParent屬性,請參閱Menu

請參閱

參照

Menu class

Menu members

Microsoft.SharePoint.WebPartPages namespace