2021 Class
Changes 0
C

ExternalResourceLoadData

Description:
This class contains the input and output data resulting from invoking an IExternalResourceServer's LoadResource method.After the call to LoadResource, the resulting ExternalResourceLoadData will be passed into IExternalResourceServer.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExternalResourceLoadData
public class ExternalResourceLoadData : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetExternalResourceReference() ExternalResourceReference Returns the ExternalResourceReference that identifies which resource should be loaded.
M GetLoadContent() ExternalResourceLoadContent Returns the ExternalResourceLoadContent resulting from this load operation.
M GetLoadContext() ExternalResourceLoadContext Returns an object containing information about the context of the load operation.
M GetLoadRequestId() Guid Returns the load operation GUID.
Name Return Type Description
P ErrorsReported bool Indicates whether the IExternalResourceUIServer has reported errors for this ExternalResourceLoadData. This value can be set by the IExternalResourceUIServer in HandleLoadResourceResults().
P ExternalResourceType ExternalResourceType The ExternalResourceType for which Revit is requesting data from the server.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P LoadStatus ExternalResourceLoadStatus The success or failure status of the load attempt.