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 | Optionality | Type | Description | 
|---|---|---|---|
| objID | Required | ObjID | The object to refresh. | 
| refreshFromServer | Required | boolean | If true, refreshes the data of the object from the server. | 
| updateRelatedObjects | Required | 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. |