ListItemCreationInformation.UnderlyingObjectType property
Gets or sets a value that specifies whether the new list item is a file or a folder.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Property UnderlyingObjectType As FileSystemObjectType
Get
Set
'Usage
Dim instance As ListItemCreationInformation
Dim value As FileSystemObjectType
value = instance.UnderlyingObjectType
instance.UnderlyingObjectType = value
public FileSystemObjectType UnderlyingObjectType { get; set; }
Property value
Type: Microsoft.SharePoint.Client.FileSystemObjectType
Returns a FileSystemObjectType.instance which represents whether the new list item is a file or a folder.
Remarks
It must be one of the following values: File or Folder.
See also
Reference
ListItemCreationInformation class