Class ListItemCreationInformation

Specifies the properties of the new list item.

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(): ListItemCreationInformation

Returns

ListItemCreationInformation

Methods

public customFromJson(obj: any): boolean

Parameters

  • obj: any

Returns

boolean

public customWriteToXml(writer: XmlWriter, serializationContext: SerializationContext): boolean

Parameters

Returns

boolean

public fromJson(obj: any)

Parameters

  • obj: any

public get_folderUrl(): string

Returns

string

public get_leafName(): string

Returns

string

public get_typeId(): string

Returns

string

public get_underlyingObjectType(): FileSystemObjectType

Returns

FileSystemObjectType

public set_folderUrl(value: string)

Sets a value that specifies the folder for the new list item.

Parameters

  • value: string

public set_leafName(value: string)

Sets a value that specifies the name of the new list item. It must be the name of the file if the parent list of the list item is a document library.

Parameters

  • value: string

public set_underlyingObjectType(value: FileSystemObjectType)

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

Parameters

public writeToXml(writer: XmlWriter, serializationContext: SerializationContext)

Parameters