The ExternalResourceLoadContext type exposes the following members.

Methods

  NameDescription
Public methodCallingDocumentHasModelPath
Indicates whether the document requesting the external resource has a defined ModelPath.
Public methodDispose
Releases all resources used by the ExternalResourceLoadContext
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCallingDocumentModelPath
Returns a copy of the ModelPath of the document that is requesting the external resource.
Public methodGetCurrentlyLoadedReference
Returns a copy of the ExternalResourceReference currently in use by the containing element.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyLoadOperationType
An enum value indicating whether the resource load was triggered by an automatic event (such as file open) or an explicit user action.

See Also