WriteData Method WriteData(IObjectDataOutput) Serializes the object by writing to an IObjectDataOutput. Declaration void WriteData(IObjectDataOutput output) Parameters IObjectDataOutput output The output serialized data.