AddListingItem
Description
Adds a new item to the relevant listings. It is a new method added for vNext.
Syntax
// shellListing points to instance of IShellListing
await shellListing.AddListingItem(objectVersion, skipSelection);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| objectVersion | Required | IObjectVersionEx | The new object got added. |
| skipSelection | Optional | boolean | When true, tells ListItemAdded subscribers not to change the current listing selection or reload the metadata card for this item. |
Return type
| Type | Description |
|---|---|
| Promise < void > | Method does not return a value |
Exceptions
ArgumentError - When objectVersion is null or undefined.