Partilhar via


SPList.DefaultItemOpenUseListSetting Property

This property indicates whether to use the List setting or the server-wide setting for DefaultItemOpen (BrowserEnabledDocuments setting) in the Web application.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property DefaultItemOpenUseListSetting As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.DefaultItemOpenUseListSetting

instance.DefaultItemOpenUseListSetting = value
public bool DefaultItemOpenUseListSetting { get; set; }

Property Value

Type: System.Boolean
A Boolean value = true if using the List setting or false if using the server-wide setting.

Remarks

Property can only be set to false (to use the server-wide setting). To force a List setting assign the value for [Microsoft.SharePoint.SPList.DefaultItemOpen]

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace