GetConnectedProperty Method (String)
Gets a connected property by its name.

Namespace: Autodesk.Revit.Utility
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:  2014

Syntax

C#
public AssetProperty GetConnectedProperty(
	string name
)
Visual Basic
Public Function GetConnectedProperty ( _
	name As String _
) As AssetProperty
Visual C++
public:
AssetProperty^ GetConnectedProperty(
	String^ name
)

Parameters

name
Type: System..::..String
Name of the property.

Return Value

The property with the specified name.

Remarks

Returns NULL is there is no connected property with the specified name.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was NULL

See Also