CanSetValue Method (Int32)


Checks whether StorageType of entry is Integer.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2022

Syntax

C#
public bool CanSetValue(
	int value
)
Visual Basic
Public Function CanSetValue ( _
	value As Integer _
) As Boolean
Visual C++
public:
bool CanSetValue(
	int value
)

Parameters

value
Type: SystemInt32
New Integer value.

Return Value

True if StorageType of the entry is Integer, false otherwise.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →