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