GetObjectData Method


Optional Functionality Not Available 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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →