2027 Class
Changes 0
C

LinkLoadResult

Description:
This class stores the results of trying to load a single linked model.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.LinkLoadResult
public class LinkLoadResult : IDisposable
Name Return Type Description Inherited From
C LinkLoadResult() None Constructs a new uninitialized LinkLoadResult object.
C LinkLoadResult(LinkLoadResult) None Constructs a new copy of the input LinkLoadResult object.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the LinkLoadResult
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetCentralModelName() ModelPath 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.
M GetExternalResourceReference() ExternalResourceReference Gets a copy of the ExternalResourceReference corresponding to the link.
M GetExternalResourceReferencesFromFailedLoads() IList<ExternalResourceReference> Searches this and all nested LinkLoadResults, and returns a list of ExternalResourceReferences for the links that failed to load.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetLinkLoadResult(ExternalResourceReference) LinkLoadResult Searches this LinkLoadResult and all nested LinkLoadResults for the load operation results of a specified ExternalResourceReference.
M GetModelName() ModelPath Gets the name of the model.
M GetNestedLinkLoadResults() IDictionary<String,LinkLoadResult> Gets the results for this link's nested links.
M GetParentModelName() ModelPath Returns the name of the parent of the linked model, or an empty FilePath if the link is a top-level link.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsCodeSuccess(LinkLoadResultType) Boolean Check if load result code signifies success.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ElementId ElementId The id of the created or loaded linked model.
P IsCircularLink bool True if these results are part of a link cycle.
P IsNested bool True if these results represent a nested link; false otherwise.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P LoadResult LinkLoadResultType 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.