共用方式為


SP.ListItemCreationInformation.underlyingObjectType Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies whether the new list item is a file or a folder.

var value = SP.ListItemCreationInformation.get_underlyingObjectType();

SP.ListItemCreationInformation.set_underlyingObjectType(value);

Property Value

Type: SP.FileSystemObjectType

Applies To

SP.ListItemCreationInformation Class

Remarks

It must be one of the following values: File or Folder.

See Also

Reference

SP.ListItemCreationInformation Methods

SP.ListItemCreationInformation Properties

SP Namespace