GetObjectData Method


Arguments Inconsistent Exception Get Object Data Method

Retrieves data needed to serialize the target object.

Namespace: Autodesk.Revit.Exceptions
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info SerializationInfo
Data needed to serialize or deserialize the object.
context StreamingContext
The destination of the serialized stream.

Implements

ISerializable GetObjectData(SerializationInfo, StreamingContext)
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 →