SPView.DefaultView property
取得或設定布林值,指定檢視是否為預設檢視。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property DefaultView As Boolean
Get
Set
'用途
Dim instance As SPView
Dim value As Boolean
value = instance.DefaultView
instance.DefaultView = value
public bool DefaultView { get; set; }
Property value
Type: System.Boolean
如果檢視是預設檢視,則為 true,否則為 false。