Skip to content

AssetProperties.FindByName

Public Class

Gets the property with the given name.

Namespace: Autodesk.Revit.DB.Visual

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public AssetProperty FindByName(
string name
)

Parameters

nameString

Name of the property.

Return Value

AssetProperty
The property with the specified name.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

FindByName will not visit the properties of any connected asset on any of the properties.