The LinkLoadResult type exposes the following members.

Constructors

  NameDescription
Public methodLinkLoadResult()()()()
Constructs a new uninitialized LinkLoadResult object.
Public methodLinkLoadResult(LinkLoadResult)
Constructs a new copy of the input LinkLoadResult object.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the LinkLoadResult
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCentralModelName
Gets the central model's name. If the link is not workshared, this returns an empty FilePath. If the link is itself a central model, this returns the link's name.
Public methodGetExternalResourceReference
Gets a copy of the ExternalResourceReference corresponding to the link.
Public methodGetExternalResourceReferencesFromFailedLoads
Searches this and all nested LinkLoadResults, and returns a list of ExternalResourceReferences for the links that failed to load.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLinkLoadResult
Searches this LinkLoadResult and all nested LinkLoadResults for the load operation results of a specified ExternalResourceReference.
Public methodGetModelName
Gets the name of the model.
Public methodGetNestedLinkLoadResults
Gets the results for this link's nested links.
Public methodGetParentModelName
Returns the name of the parent of the linked model, or an empty FilePath if the link is a top-level link.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsCodeSuccess
Check if load result code signifies success.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyElementId
The id of the created or loaded linked model.
Public propertyIsCircularLink
True if these results are part of a link cycle.
Public propertyIsNested
True if these results represent a nested link; false otherwise.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyLoadResult
Holds the results of creating or loading a link. Results can be LinkLoadResultType.LinkLoaded for success, or a variety of errors. See LinkLoadResultType for the full list.

See Also