Revit 2022 API |
LinkLoadResult..::..GetExternalResourceReferencesFromFailedLoads Method |
LinkLoadResult Class See Also |
Searches this and all nested LinkLoadResults, and returns a list
of ExternalResourceReferences for the links that failed to load.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2015
Syntax
C# |
---|
public IList<ExternalResourceReference> GetExternalResourceReferencesFromFailedLoads() |
Visual Basic |
---|
Public Function GetExternalResourceReferencesFromFailedLoads As IList(Of ExternalResourceReference) |
Visual C++ |
---|
public: IList<ExternalResourceReference^>^ GetExternalResourceReferencesFromFailedLoads() |
Return Value
A collection of link ExternalResourceReferences which failed to load.
Remarks
In cases, where a nested structure of several links were loaded, this method is intended to be a convenient way for IExternalResourceUIServers to determine whether a top-level link, or any sub-link, which failed to load properly was provided by their IExternalResourceServer or another server.
If this link and all nested links loaded successfully, then an empty list is returned.