Object: BrowseEntity
- 更新日2024-09-12
- 4分で読める
(BrowseEntity | BrowseSettings) > Object: BrowseEntity
Object: BrowseEntity
In a DataFinder the BrowseEntity object provides an entity of the Browse path.
The following example opens the data store ASAM Browse Settings Example and displays the entity type of the selected element:
| VBScript | Python |
Dim oMyStore, oMyBrowseSettings, oMyBrowseEntity, oMyElement Call Navigator.Display.OpenDataStore("ASAM Browse Settings Example") Set oMyStore = Navigator.Display.CurrDataStore.GetDataStore Set oMyBrowseSettings = Navigator.Settings.LoadBrowseSettings(ConfReadPath & "BS_TestBeds.tbs", oMyStore) Call WndShow("NAVIGATOR", "SHOW") Call InterActionOn("Please select an element") Set oMyElement = Navigator.Display.CurrDatastore.Browser.FocusedElement Set oMyBrowseEntity = oMyBrowseSettings.GetBrowseEntity(oMyElement) Call MsgBoxDisp(oMyBrowseEntity.EntityType.Name)
Properties
ChildEntity | ChildPath | EntityType | ParentEntity | ParentPath
Returned From
BrowseEntity.ChildEntity | BrowseEntity.ParentEntity | BrowseSettings.GetBrowseEntity | BrowseSettings.RootEntity