SPList Class

Definition

public ref class SPList : Microsoft::SharePoint::SPSecurableObject
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="ID", ETagPropertyName="Version", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="List", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", ObjectVersionPropertyName="Version", PatchUpdateMethodClientName="Update", PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web/lists({listid})", ServerTypeId="{D89F0B18-614E-4b4a-BAC0-FD6142B55448}")]
[Microsoft.SharePoint.Client.SubsetCallableType(ForcePolymorphicForReturnTypes=true)]
public class SPList : Microsoft.SharePoint.SPSecurableObject
type SPList = class
    inherit SPSecurableObject
Public Class SPList
Inherits SPSecurableObject
Inheritance
Derived
Attributes

Fields

m_arrListProps
m_iRow
m_ListAttributesDict
m_Lists
m_Permissions

Properties

AlertTemplate
AllowContentTypes
AllowDeletion
AllowEveryoneViewItems
AllowMultiResponses
AllowRssFeeds
AllRolesForCurrentUser (Inherited from SPSecurableObject)
AnonymousPermMask
AnonymousPermMask64
Audit
Author
BaseTemplate
BaseType
BrowserFileHandling
CalculationOptions
CanReceiveEmail
ClientFormListData
ContentTypes
ContentTypesEnabled
Created
CurrentChangeToken
DataSource
DefaultApprovalWorkflowId
DefaultContentApprovalWorkflowId
DefaultDisplayFormUrl
DefaultEditFormUrl
DefaultItemOpen
DefaultItemOpenUseListSetting
DefaultNewFormUrl
DefaultView
DefaultViewUrl
Description
DescriptionResource
Direction
DisableGridEditing
DraftVersionVisibility
EffectiveBasePermissions
EffectiveBasePermissionsForUI
EffectiveFolderPermissions
EffectiveFolderPermissionsForUI
EmailAlias
EnableAssignToEmail
EnableAttachments
EnableDeployingList
EnableDeployWithDependentList
EnableFolderCreation
EnableMinorVersions
EnableModeration
EnablePeopleSelector
EnableResourceSelector
EnableSchemaCaching
EnableSyndication
EnableThrottling
EnableVersioning
EnforceDataValidation
EntityTypeName
EventReceivers
EventSinkAssembly
EventSinkClass
EventSinkData
ExcludeFromOfflineClient
ExcludeFromTemplate
FetchPropertyBagForListView
FieldIndexes
Fields
FirstUniqueAncestor (Inherited from SPSecurableObject)
FirstUniqueAncestorSecurableObject
Folders
Followable
ForceCheckout
ForceDefaultContentType
Forms
HasExternalDataSource
HasUniqueRoleAssignments (Inherited from SPSecurableObject)
Hidden
ID
ImageUrl
IndexedRootFolderPropertyKeys
InformationRightsManagementSettings
IrmEnabled
IrmExpire
IrmReject
IsApplicationList
IsPrivate
IsSiteAssetsLibrary
IsThrottled
ItemCount
Items
LastItemDeletedDate
LastItemModifiedDate
ListItemEntityTypeFullName
Lists
ListViewWebPartKey
MajorVersionLimit
MajorWithMinorVersionsLimit
MobileDefaultDisplayFormUrl
MobileDefaultEditFormUrl
MobileDefaultNewFormUrl
MobileDefaultView
MobileDefaultViewUrl
MultipleDataList
NavigateForFormsPages
NeedUpdateSiteClientTag
NoCrawl
OnQuickLaunch
Ordered
ParentWeb
ParentWebUrl
Permissions
PropertiesXml
ReadOnlyUI
ReadSecurity
RequestAccessEnabled
RestrictedTemplateList
RestrictUserUpdates
ReusableAcl
RoleAssignments (Inherited from SPSecurableObject)
RootFolder
RootWebOnly
SchemaXml
SchemaXmlInCurrentUICulture
SendToLocationName
SendToLocationUrl
ServerTemplateCanCreateFolders
ShowUser
SmsAlertTemplate
TemplateFeatureId
Title
TitleResource
UseFormsForDisplay
UserCustomActions
UserResources
ValidationFormula
ValidationMessage
Version
Views
WorkflowAssociations
WriteSecurity

Methods

AddItem()
AddItem(String, SPFileSystemObjectType)
AddItem(String, SPFileSystemObjectType, String)
AddWorkflowAssociation(SPWorkflowAssociation)
AppendDataTable(SPQuery, SPListGetDataTableOptions, DataTable, SPListItemCollectionPosition)
BreakRoleInheritance(Boolean) (Inherited from SPSecurableObject)
BreakRoleInheritance(Boolean, Boolean)
CheckPermissions(SPBasePermissions)
Delete()
DoesUserHavePermissions(SPBasePermissions) (Inherited from SPSecurableObject)
DoesUserHavePermissions(SPBasePermissions, Boolean)
DoesUserHavePermissions(SPUser, SPBasePermissions)
DoesUserHavePermissionsForUI(SPBasePermissions)
DoesUserHavePermissionsForUI(SPBasePermissions, Boolean)
EnsurePropsFresh()
EnsureRssSettings()
GetChanges()
GetChanges(SPChangeQuery)
GetChanges(SPChangeToken)
GetChanges(SPChangeToken, SPChangeToken)
GetContentTypeIdByUrl(String)
GetDataTable(SPQuery, SPListGetDataTableOptions, SPListItemCollectionPosition)
GetDefaultViewForContentType(SPContentTypeId)
GetDirectChildContentType(SPContentTypeId)
GetDistinctFieldValues(SPField, Object[,])
GetItemById(Int32)
GetItemByIdAllFields(Int32)
GetItemByIdSelectedFields(Int32, String[])
GetItemByUniqueId(Guid)
GetItems(SPQuery)
GetItems(SPQuery, String)
GetItems(SPView)
GetItems(String[])
GetItemsWithUniquePermissions()
GetItemsWithUniquePermissions(Int32, Boolean)
GetPropertiesXmlForUncustomizedViews()
GetRelatedFields()
GetRelatedFields(SPRelationshipDeleteBehavior)
GetUncustomizedViewByBaseViewId(Int32)
GetUserEffectivePermissionInfo(String)
GetUserEffectivePermissions(String)
GetView(Guid)
IsContentTypeAllowed(SPContentType)
IsContentTypeAllowed(SPContentTypeId)
Recycle()
RemoveWorkflowAssociation(SPWorkflowAssociation)
RenderAsHtml(SPQuery)
RenderListData(String)
RenderListData(String, Guid)
RenderListFormData(Int32, String, Int32)
ResetRoleInheritance()
SaveAsNewView(String, String, Boolean, Uri)
SaveAsTemplate(String, String, String, Boolean)
ServerTemplateCanReceiveEmail(SPListTemplateType, SPWeb)
SetAttributesForPropertiesXML(XmlTextWriter)
ToString()
Update()
Update(Boolean)
UpdateWorkflowAssociation(SPWorkflowAssociation)
WriteRssFeed(Stream)
WriteRssFeed(Stream, Int32)
WriteRssFeed(Stream, Int32, SPView)

Applies to