ExternalResourceLoadContext Members

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 (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 (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (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