Share via


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property UnderlyingObjectType As FileSystemObjectType
    Get
    Set
'Usage
Dim instance As ListItemCreationInformation
Dim value As FileSystemObjectType

value = instance.UnderlyingObjectType

instance.UnderlyingObjectType = value
[RemoteAttribute]
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

ListItemCreationInformation Members

Microsoft.SharePoint.Client Namespace