M

IExternalDataManagerServer.GetData

Description:
Obtains the data.
Remarks:
Revit requests the data whenever the Manage Links dialog needs to populate or refresh its table. Implementations should return the full, up-to-date set, even if only a subset has changed, because the UI performs its own diff to minimize redraws. Performance tips: Avoid heavy I/O inside this call; maintain a lightweight in-memory cache and refresh it asynchronously where possible. The array may be large; reserve capacity when building it to avoid excessive reallocations.
IList<ExternalDataManagerDataItem> GetData(
	Document document
)
Return Value IList<ExternalDataManagerDataItem> Empty if the server has no data.