IExternalDataManagerServerGetData Method |
Obtains the data.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
SyntaxIList<ExternalDataManagerDataItem> GetData(
Document document
)
Function GetData (
document As Document
) As IList(Of ExternalDataManagerDataItem)
IList<ExternalDataManagerDataItem^>^ GetData(
Document^ document
)
abstract GetData :
document : Document -> IList<ExternalDataManagerDataItem> Parameters
- document Document
-
The document..
Return Value
IListExternalDataManagerDataItem
Empty if the server has no 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.
See Also