NavigateToObject
Description
Navigate to the given object.
Syntax
// shellFrame points to instance of IShellFrame
await shellFrame.NavigateToObject(objId, newWindow, isLatestVersion, version);
Parameters
Name | Optionality | Type | Description |
---|---|---|---|
objId | Required | ObjID | The object to be navigated to. |
newWindow | Required | boolean | Flag to indicate if the navigation should happen in new window/tab. |
isLatestVersion | Optional | boolean | Flag to indicate if the latest version of the object should be navigated. Default is true. |
version | Optional | number | The version of the object to be navigated. Default is -1. |
Return type
Type | Description |
---|---|
Promise < void > | Method does not return a value |