RefreshObject
Description
Refreshes the specified object in the listing.
Syntax
// shellListing points to instance of IShellListing
const result = await shellListing.RefreshObject(
objID,
refreshFromServer,
updateRelatedObjects,
);
Parameters
Name | Type | Description |
---|---|---|
objID | object | The object to refresh. |
refreshFromServer | boolean | If true, refreshes the data of the object from the server. |
updateRelatedObjects | boolean | If true, the related objects of the specified object are also updated. |
Return type
Type | Description |
---|---|
Promise < void > | It returns promise<boolean> if action succeeds true otherwise false will be returned. |