Gets the collection of ExternalResourceReference associated with a specified external resource type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public IList<ExternalResourceReference> GetExternalResourceReferenceExpanded( ExternalResourceType resourceType )
Parameters
- resourceType ExternalResourceType
- The desired external resource type.
Return Value
IList<ExternalResourceReference>The collection of the ExternalResourceReference associated with a specified external resource type.
Exceptions
Exception | Condition |
---|---|
ArgumentException | This Element does not use a resource reference for the specified resource type. |
ArgumentNullException | A non-optional argument was null |