SPGenericObject.Item 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("WebTemplate", GetType(SPWebTemplate))> _
<XmlElementAttribute("Module", GetType(SPModule))> _
<XmlElementAttribute("RoleX", GetType(DeploymentRoleX))> _
<XmlElementAttribute("Roles", GetType(DeploymentRole()))> _
<XmlElementAttribute("Site", GetType(SPSite))> _
<XmlElementAttribute("UserX", GetType(DeploymentUserX))> _
<XmlElementAttribute("GroupX", GetType(DeploymentGroupX))> _
<XmlElementAttribute("DocumentLibrary", GetType(SPDocumentLibrary))> _
<XmlElementAttribute("ContentType", GetType(SPContentType))> _
<XmlElementAttribute("PictureLibrary", GetType(SPPictureLibrary))> _
<XmlElementAttribute("RoleAssignmentX", GetType(DeploymentRoleAssignmentX))> _
<XmlElementAttribute("FieldTemplate", GetType(DeploymentFieldTemplate))> _
<XmlElementAttribute("DocumentTemplate", GetType(SPDocTemplate))> _
<XmlElementAttribute("RoleAssignments", GetType(DeploymentRoleAssignment()))> _
<XmlElementAttribute("WebStructure", GetType(DeploymentWebStructure))> _
<XmlElementAttribute("Feature", GetType(SPFeature))> _
<XmlElementAttribute("Web", GetType(SPWeb))> _
<XmlElementAttribute("ListTemplate", GetType(SPListTemplate))> _
<XmlElementAttribute("Folder", GetType(SPFolder))> _
<XmlElementAttribute("File", GetType(SPFile))> _
<XmlElementAttribute("List", GetType(SPList))> _
<XmlElementAttribute("ListItem", GetType(SPListItem))> _
Public Property Item As Object
'Usage
Dim instance As SPGenericObject
Dim value As Object
value = instance.Item
instance.Item = value
[XmlElementAttribute("WebTemplate", typeof(SPWebTemplate))]
[XmlElementAttribute("Module", typeof(SPModule))]
[XmlElementAttribute("RoleX", typeof(DeploymentRoleX))]
[XmlElementAttribute("Roles", typeof(DeploymentRole[]))]
[XmlElementAttribute("Site", typeof(SPSite))]
[XmlElementAttribute("UserX", typeof(DeploymentUserX))]
[XmlElementAttribute("GroupX", typeof(DeploymentGroupX))]
[XmlElementAttribute("DocumentLibrary", typeof(SPDocumentLibrary))]
[XmlElementAttribute("ContentType", typeof(SPContentType))]
[XmlElementAttribute("PictureLibrary", typeof(SPPictureLibrary))]
[XmlElementAttribute("RoleAssignmentX", typeof(DeploymentRoleAssignmentX))]
[XmlElementAttribute("FieldTemplate", typeof(DeploymentFieldTemplate))]
[XmlElementAttribute("DocumentTemplate", typeof(SPDocTemplate))]
[XmlElementAttribute("RoleAssignments", typeof(DeploymentRoleAssignment[]))]
[XmlElementAttribute("WebStructure", typeof(DeploymentWebStructure))]
[XmlElementAttribute("Feature", typeof(SPFeature))]
[XmlElementAttribute("Web", typeof(SPWeb))]
[XmlElementAttribute("ListTemplate", typeof(SPListTemplate))]
[XmlElementAttribute("Folder", typeof(SPFolder))]
[XmlElementAttribute("File", typeof(SPFile))]
[XmlElementAttribute("List", typeof(SPList))]
[XmlElementAttribute("ListItem", typeof(SPListItem))]
public Object Item { get; set; }
See Also
Reference
SPGenericObject Class
SPGenericObject Members
Microsoft.SharePoint.Publishing.Internal.Administration.Schema Namespace