Gets the serial number of the dataset which contains the specified dataset (e.g. in an Index Dataset).
Visual Basic |
---|
Public Function GetDatasetContainer( _ ByVal nDataset As Long, _ ByVal nContainer As Integer _ ) As Long |
The serial number of the dataset container, or 0 if the dataset has no containers. If the nContainer% value is greater than the available number of containers, a non-existent serial number will be returned.
The serial number cannot be relied upon to be identical in each session, or if the dataset is removed and re-added. The number returned should therefore not be stored for long-term use.
Available: GEO MD ME MM OD OM SISpy
sis.GetDatasetContainer (1, 1)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).