MenuItem.Checked property
取得或設定是否要以視覺方式顯示的功能表項目] 旁的核取記號表示。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Checked As Boolean
Get
Set
'用途
Dim instance As MenuItem
Dim value As Boolean
value = instance.Checked
instance.Checked = value
public bool Checked { get; set; }
Property value
Type: System.Boolean
若要顯示旁的功能表項目 ;] 核取記號表示true否則,請false。預設值為false。