Share via


SPList.Items Property (Microsoft.SharePoint.Publishing.Internal.Administration.Schema)

Namespace: Microsoft.SharePoint.Publishing.Internal.Administration.Schema
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)

Syntax

'Declaration
<XmlElementAttribute("Views", GetType(SPView()))> _
<XmlElementAttribute("ContentTypes", GetType(SPContentTypeCollection))> _
<XmlElementAttribute("EventReceivers", GetType(SPEventReceiverDefinition()))> _
<XmlElementAttribute("Forms", GetType(SPForm()))> _
<XmlElementAttribute("Alerts", GetType(SPAlert()))> _
<XmlElementAttribute("Fields", GetType(SPFieldCollection))> _
Public Property Items As Object()
'Usage
Dim instance As SPList
Dim value As Object()

value = instance.Items

instance.Items = value
[XmlElementAttribute("Views", typeof(SPView[]))] 
[XmlElementAttribute("ContentTypes", typeof(SPContentTypeCollection))] 
[XmlElementAttribute("EventReceivers", typeof(SPEventReceiverDefinition[]))] 
[XmlElementAttribute("Forms", typeof(SPForm[]))] 
[XmlElementAttribute("Alerts", typeof(SPAlert[]))] 
[XmlElementAttribute("Fields", typeof(SPFieldCollection))] 
public Object[] Items { get; set; }

See Also

Reference

SPList Class
SPList Members
Microsoft.SharePoint.Publishing.Internal.Administration.Schema Namespace